25 lines
557 B
Bash
25 lines
557 B
Bash
# Template file for 'tty-clock-git'
|
|
pkgname=tty-clock-git
|
|
version=20130821
|
|
revision=3
|
|
hostmakedepends="git"
|
|
makedepends="ncurses-devel"
|
|
short_desc="Analog clock in ncurses"
|
|
maintainer='Juan RP <xtraeme@voidlinux.eu>'
|
|
license="GPL"
|
|
homepage="https://github.com/xorg62/tty-clock"
|
|
|
|
do_fetch() {
|
|
local url="git://github.com/xorg62/tty-clock"
|
|
msg_normal "Fetching source from $url ...\n"
|
|
git clone ${url} ${pkgname}-${version}
|
|
}
|
|
|
|
do_build() {
|
|
make CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS -lncursesw"
|
|
}
|
|
|
|
do_install() {
|
|
vbin tty-clock
|
|
vman tty-clock.1
|
|
}
|