bar-git: use our {C,LD}FLAGS.

This commit is contained in:
Juan RP 2014-08-01 21:59:46 +02:00
parent b0386088c6
commit d41a9e576f

View file

@ -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