From d41a9e576f64dca590e19b6d6837a4d6e94b2141 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 1 Aug 2014 21:59:46 +0200 Subject: [PATCH] bar-git: use our {C,LD}FLAGS. --- srcpkgs/bar-git/template | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/srcpkgs/bar-git/template b/srcpkgs/bar-git/template index 1032b518aa0..01bfdf4e8ff 100644 --- a/srcpkgs/bar-git/template +++ b/srcpkgs/bar-git/template @@ -1,7 +1,7 @@ # Template file for 'bar-git' pkgname=bar-git version=20140801 -revision=1 +revision=2 build_style=gnu-makefile hostmakedepends="perl git" makedepends="libxcb-devel" @@ -17,7 +17,10 @@ do_fetch() { msg_normal "Fetching source from $url ...\n" git clone ${url} ${pkgname}-${version} } - +pre_build() { + sed 's/^CFLAGS =/CFLAGS +=/' -i Makefile + sed 's/^LDFLAGS =/LDFLAGS +=/' -i Makefile +} post_install() { vbin palette.pl vinstall LICENSE 644 usr/share/licenses/bar