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.8
revision=1
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=421d57a398d97c8264baced8743799fdec5f2cf989b34a8f42cf2277f4a9a5d4
pre_build() {
sed -i 's/^\(CFLAGS *+=\)/override \1/' config.mk
sed -i 's/^\(LDFLAGS *+=\)/override \1/' config.mk
}
post_install() {
vlicense LICENSE
}