lemonbar: fix CFLAGS & LDFLAGS

This commit is contained in:
Ypnose 2015-06-12 21:20:16 +02:00
parent d8622ec4f4
commit 282e36017d

View file

@ -1,7 +1,7 @@
# Template file for 'lemonbar'
pkgname=lemonbar
version=1.1
revision=1
revision=2
wrksrc="bar-${version}"
build_style=gnu-makefile
hostmakedepends="perl"
@ -14,6 +14,11 @@ license="MIT"
distfiles="https://github.com/LemonBoy/bar/archive/v${version}.tar.gz"
checksum=567955575a09a7231cae7f2003e0fd66f4c86d7acbe1f53f407233730c8f2c9c
pre_build() {
sed -i 's/^\(CFLAGS *+=\)/override \1/' Makefile
sed -i 's/^\(LDFLAGS *+=\)/override \1/' Makefile
}
post_install() {
vlicense LICENSE
}