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

24 lines
734 B
Bash

# Template file for 'zathura-pdf-poppler'
pkgname=zathura-pdf-poppler
version=0.2.5
revision=5
build_style=gnu-makefile
maintainer="Dominik Honnef <dominik@honnef.co>"
hostmakedepends="pkg-config"
makedepends="poppler-devel poppler-glib-devel zathura-devel"
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=60b327596d65bcd39edd5bf05b8cca8f9b658f51e626611ea99247a49b860cac
pre_build() {
sed -i 's/^\(CFLAGS *+=\)/override \1/' config.mk
sed -i 's/^\(LDFLAGS *+=\)/override \1/' config.mk
}
post_install() {
vlicense LICENSE
}