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

27 lines
788 B
Bash

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