From 4f4b330bdf9f06674433f521091d5fcf61b084a7 Mon Sep 17 00:00:00 2001 From: Dominik Honnef Date: Sat, 6 Jun 2015 21:26:40 +0200 Subject: [PATCH] zathura-pdf-poppler: fix CFLAGS and LDFLAGS --- srcpkgs/zathura-pdf-poppler/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 }