zathura-djvu: fix CFLAGS and LDFLAGS

This commit is contained in:
Dominik Honnef 2015-06-06 21:21:59 +02:00
parent c7ef512c65
commit 5ad6292c22
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'zathura-djvu' # Template file for 'zathura-djvu'
pkgname=zathura-djvu pkgname=zathura-djvu
version=0.2.4 version=0.2.4
revision=2 revision=3
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"
@ -12,6 +12,11 @@ short_desc="DjVu support for zathura"
distfiles="http://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.gz" distfiles="http://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.gz"
checksum=ac10b8c07fd9f58281225e1a4cb026634cd03bf6b549eaceeea02f99ab5334bc checksum=ac10b8c07fd9f58281225e1a4cb026634cd03bf6b549eaceeea02f99ab5334bc
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
} }