tty-clock-git: fix fetch and cross-compile

This commit is contained in:
Christian Neukirchen 2014-08-25 00:12:50 +02:00
parent e87612181d
commit de6f52ee3f

View file

@ -1,10 +1,9 @@
# Template file for 'tty-clock-git'
pkgname=tty-clock-git
version=20130821
revision=2
revision=3
hostmakedepends="git"
makedepends="ncurses-devel"
hostmakedepends="pkg-config"
short_desc="Analog clock in ncurses"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="GPL"
@ -17,9 +16,10 @@ do_fetch() {
}
do_build() {
make
make CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS -lncursesw"
}
do_install() {
make INSTALLPATH=/usr/bin/ DESTDIR=${DESTDIR} install
vbin tty-clock
vman tty-clock.1
}