From c7ef512c65697e14ed7dd8e4738a32d32719b5b8 Mon Sep 17 00:00:00 2001 From: Dominik Honnef Date: Sat, 6 Jun 2015 21:19:56 +0200 Subject: [PATCH] zathura-cb: fix CFLAGS and LDFLAGS --- srcpkgs/zathura-cb/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/zathura-cb/template b/srcpkgs/zathura-cb/template index 82ed7aca67..fa27bae7b2 100644 --- a/srcpkgs/zathura-cb/template +++ b/srcpkgs/zathura-cb/template @@ -1,7 +1,7 @@ # Template file for 'zathura-cb' pkgname=zathura-cb version=0.1.4 -revision=2 +revision=3 build_style=gnu-makefile maintainer="Dominik Honnef " hostmakedepends="pkg-config" @@ -12,6 +12,11 @@ short_desc="Comic book support for zathura" distfiles="http://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.gz" checksum=f21cb140cce02b3ef8b23eff479a7f66285667ab47cdc099c10cd62eaf239626 +pre_build() { + sed -i 's/^\(CFLAGS *+=\)/override \1/' config.mk + sed -i 's/^\(LDFLAGS *+=\)/override \1/' config.mk +} + post_install() { vlicense LICENSE }