From de6f52ee3fa6c2e7200ba81349965e42ad1ea2cf Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Mon, 25 Aug 2014 00:12:50 +0200 Subject: [PATCH] tty-clock-git: fix fetch and cross-compile --- srcpkgs/tty-clock-git/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/tty-clock-git/template b/srcpkgs/tty-clock-git/template index 5c549699364..daf4ba18f8c 100644 --- a/srcpkgs/tty-clock-git/template +++ b/srcpkgs/tty-clock-git/template @@ -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 " 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 }