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