zathura-ps: fix CFLAGS and LDFLAGS
This commit is contained in:
parent
5ad6292c22
commit
bbfe69650f
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'zathura-ps'
|
# Template file for 'zathura-ps'
|
||||||
pkgname=zathura-ps
|
pkgname=zathura-ps
|
||||||
version=0.2.2
|
version=0.2.2
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
maintainer="Dominik Honnef <dominik@honnef.co>"
|
maintainer="Dominik Honnef <dominik@honnef.co>"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
|
@ -12,6 +12,11 @@ short_desc="PostScript support for zathura"
|
||||||
distfiles="http://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.gz"
|
distfiles="http://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.gz"
|
||||||
checksum=e6546261db03b0b6b6499a8e109dc9ff3b8eb8b154ce45f5c6284c1e76d1d7a8
|
checksum=e6546261db03b0b6b6499a8e109dc9ff3b8eb8b154ce45f5c6284c1e76d1d7a8
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
sed -i 's/^\(CFLAGS *+=\)/override \1/' config.mk
|
||||||
|
sed -i 's/^\(LDFLAGS *+=\)/override \1/' config.mk
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue