2013-08-21 00:54:34 +02:00
|
|
|
# Template file for 'tty-clock-git'
|
|
|
|
pkgname=tty-clock-git
|
|
|
|
version=20130821
|
2014-08-25 00:12:50 +02:00
|
|
|
revision=3
|
2014-07-27 16:05:16 +02:00
|
|
|
hostmakedepends="git"
|
2013-08-21 00:54:34 +02:00
|
|
|
makedepends="ncurses-devel"
|
|
|
|
short_desc="Analog clock in ncurses"
|
|
|
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
|
|
|
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}
|
|
|
|
}
|
|
|
|
|
2013-08-21 09:28:22 +02:00
|
|
|
do_build() {
|
2014-08-25 00:12:50 +02:00
|
|
|
make CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS -lncursesw"
|
2013-08-21 09:28:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2014-08-25 00:12:50 +02:00
|
|
|
vbin tty-clock
|
|
|
|
vman tty-clock.1
|
2013-08-21 09:28:22 +02:00
|
|
|
}
|