zathura-pdf-poppler: fix CFLAGS and LDFLAGS
This commit is contained in:
parent
bbfe69650f
commit
4f4b330bdf
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'zathura-pdf-poppler'
|
# Template file for 'zathura-pdf-poppler'
|
||||||
pkgname=zathura-pdf-poppler
|
pkgname=zathura-pdf-poppler
|
||||||
version=0.2.5
|
version=0.2.5
|
||||||
revision=4
|
revision=5
|
||||||
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"
|
||||||
|
@ -13,6 +13,11 @@ short_desc="PDF support for zathura (using poppler)"
|
||||||
distfiles="http://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.gz"
|
distfiles="http://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.gz"
|
||||||
checksum=60b327596d65bcd39edd5bf05b8cca8f9b658f51e626611ea99247a49b860cac
|
checksum=60b327596d65bcd39edd5bf05b8cca8f9b658f51e626611ea99247a49b860cac
|
||||||
|
|
||||||
|
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