26 lines
777 B
Bash
26 lines
777 B
Bash
# Template file for 'zathura-pdf-mupdf'
|
|
pkgname=zathura-pdf-mupdf
|
|
version=0.2.9
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_build_args="MUPDF_LIB=-lmupdf MUPDF_LIB+=-lmujs"
|
|
maintainer="Dominik Honnef <dominik@honnef.co>"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="mupdf-devel zathura-devel libressl-devel"
|
|
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=1c7a123b5153a9b1110e882a1475de7bd0929c70d41b33750e1c98efc74f7e3c
|
|
|
|
pre_build() {
|
|
sed -i 's/^\(CFLAGS *+=\)/override \1/' config.mk
|
|
sed -i 's/^\(LDFLAGS *+=\)/override \1/' config.mk
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|