diff --git a/srcpkgs/zathura-pdf-poppler/template b/srcpkgs/zathura-pdf-poppler/template index 123082fd44..b605573a7a 100644 --- a/srcpkgs/zathura-pdf-poppler/template +++ b/srcpkgs/zathura-pdf-poppler/template @@ -1,7 +1,7 @@ # Template file for 'zathura-pdf-poppler' pkgname=zathura-pdf-poppler version=0.2.5 -revision=4 +revision=5 build_style=gnu-makefile maintainer="Dominik Honnef " 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" checksum=60b327596d65bcd39edd5bf05b8cca8f9b658f51e626611ea99247a49b860cac +pre_build() { + sed -i 's/^\(CFLAGS *+=\)/override \1/' config.mk + sed -i 's/^\(LDFLAGS *+=\)/override \1/' config.mk +} + post_install() { vlicense LICENSE }