void-packages/srcpkgs/zathura-pdf-poppler/template

25 lines
745 B
Bash

# Template file for 'zathura-pdf-poppler'
pkgname=zathura-pdf-poppler
version=0.2.7
revision=2
build_style=gnu-makefile
maintainer="lemmi <lemmi@nerd2nerd.org>"
hostmakedepends="pkg-config"
makedepends="poppler-devel poppler-glib-devel zathura-devel"
depends="zathura"
conflicts="zathura-pdf-mupdf>=0"
license="zlib"
homepage="http://pwmt.org/projects/zathura-pdf-poppler/"
short_desc="PDF support for zathura (using poppler)"
distfiles="http://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.gz"
checksum=985e4e4dce6143fdfd246e78b0ccbef0d32b8809c6a4f08bb53a2f7dfbd383c0
pre_build() {
sed -i 's/^\(CFLAGS *+=\)/override \1/' config.mk
sed -i 's/^\(LDFLAGS *+=\)/override \1/' config.mk
}
post_install() {
vlicense LICENSE
}