lemonbar: fix CFLAGS & LDFLAGS
This commit is contained in:
parent
d8622ec4f4
commit
282e36017d
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'lemonbar'
|
# Template file for 'lemonbar'
|
||||||
pkgname=lemonbar
|
pkgname=lemonbar
|
||||||
version=1.1
|
version=1.1
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="bar-${version}"
|
wrksrc="bar-${version}"
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="perl"
|
hostmakedepends="perl"
|
||||||
|
@ -14,6 +14,11 @@ license="MIT"
|
||||||
distfiles="https://github.com/LemonBoy/bar/archive/v${version}.tar.gz"
|
distfiles="https://github.com/LemonBoy/bar/archive/v${version}.tar.gz"
|
||||||
checksum=567955575a09a7231cae7f2003e0fd66f4c86d7acbe1f53f407233730c8f2c9c
|
checksum=567955575a09a7231cae7f2003e0fd66f4c86d7acbe1f53f407233730c8f2c9c
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
sed -i 's/^\(CFLAGS *+=\)/override \1/' Makefile
|
||||||
|
sed -i 's/^\(LDFLAGS *+=\)/override \1/' Makefile
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue