From e7e16574c563b8b29d12df5b794351a069b9dbfb Mon Sep 17 00:00:00 2001 From: Dominik Honnef Date: Sat, 6 Jun 2015 21:18:14 +0200 Subject: [PATCH] zathura: fix CFLAGS and LDFLAGS --- srcpkgs/zathura/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/zathura/template b/srcpkgs/zathura/template index 0a1678a71d..a8d0ac82c4 100644 --- a/srcpkgs/zathura/template +++ b/srcpkgs/zathura/template @@ -1,7 +1,7 @@ # Template file for 'zathura' pkgname=zathura version=0.3.3 -revision=1 +revision=2 build_style=gnu-makefile # COLOR=0 to avoid "tput not found" spam in the build output make_build_args="COLOR=0" @@ -15,6 +15,11 @@ short_desc="A highly customizable and functional document viewer" distfiles="http://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.gz" checksum=3347decfc8d4b918a6bca1d44657c3b97d4afcea3c8c1f162c57198b13e8dce7 +pre_build() { + sed -i 's/^\(CFLAGS *+=\)/override \1/' config.mk + sed -i 's/^\(LDFLAGS *+=\)/override \1/' config.mk +} + post_install() { vlicense LICENSE }