New package: zathura-pdf-mupdf-0.2.6

This commit is contained in:
Dominik Honnef 2014-07-08 13:28:56 +02:00
parent db98c75129
commit 9d4696a21a
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- config.mk.old 2014-07-08 12:47:10.902066090 +0200
+++ config.mk 2014-07-08 12:49:03.721723698 +0200
@@ -35,7 +35,7 @@
MUPDF_LIB ?= -lmupdf -lmujs
INCS = ${GTK_INC} ${GIRARA_INC} ${OPENSSL_INC} ${ZATHURA_INC}
-LIBS = ${GTK_LIB} ${GIRARA_LIB} ${MUPDF_LIB} ${OPENSSL_LIB} -ljbig2dec -lopenjp2 -ljpeg
+LIBS = ${GTK_LIB} ${GIRARA_LIB} ${MUPDF_LIB} ${OPENSSL_LIB} -ljbig2dec -ljpeg
# flags
CFLAGS += -std=c99 -fPIC -pedantic -Wall -Wno-format-zero-length $(INCS)

View File

@ -0,0 +1,20 @@
# Template file for 'zathura-pdf-mupdf'
pkgname=zathura-pdf-mupdf
version=0.2.6
revision=1
build_style=gnu-makefile
make_build_args="MUPDF_LIB=\"-lmujs\""
maintainer="Dominik Honnef <dominik@honnef.co>"
hostmakedepends="pkg-config"
makedepends="mupdf-devel zathura-devel openssl-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=5df94b6f906008b5f3bca770a552da6d2917d6b8d3e4b3049cb7001302041b20
post_install() {
vlicense LICENSE
}