parent
87986017f3
commit
8dfc93355d
|
@ -0,0 +1,11 @@
|
|||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: mupdf
|
||||
Description: Lightweight PDF and XPS viewer
|
||||
URL: https://mupdf.com
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lmupdf
|
||||
Cflags: -I${includedir}/mupdf
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'mupdf'
|
||||
pkgname=mupdf
|
||||
version=1.20.0
|
||||
version=1.20.3
|
||||
revision=1
|
||||
hostmakedepends="pkg-config zlib-devel libcurl-devel freetype-devel
|
||||
libjpeg-turbo-devel jbig2dec-devel libXext-devel libXcursor-devel
|
||||
|
@ -14,7 +14,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
|
|||
license="AGPL-3.0-only"
|
||||
homepage="https://mupdf.com"
|
||||
distfiles="https://mupdf.com/downloads/archive/${pkgname}-${version}-source.tar.lz"
|
||||
checksum=68dbb1cf5e31603380ce3f1c7f6c431ad442fa735d048700f50ab4de4c3b0f82
|
||||
checksum=6f73f63ef8aa81991dfd023d4426a548827d1d74e0bfcf2a013acad63b651868
|
||||
|
||||
pre_build() {
|
||||
# libmupdf-{threads,pkcs7}.a are required by fbpdf
|
||||
|
@ -49,6 +49,9 @@ do_install() {
|
|||
|
||||
vinstall ${FILESDIR}/mupdf.xpm 644 usr/share/pixmaps
|
||||
vinstall ${FILESDIR}/mupdf.desktop 644 usr/share/applications
|
||||
|
||||
vmkdir usr/lib/pkgconfig
|
||||
sed "s/@VERSION@/${version}/" ${FILESDIR}/mupdf.pc.in > ${DESTDIR}/usr/lib/pkgconfig/mupdf.pc
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
@ -59,6 +62,7 @@ mupdf-devel_package() {
|
|||
short_desc+=" - development files"
|
||||
depends="libjpeg-turbo-devel jbig2dec-devel libopenjpeg2-devel"
|
||||
pkg_install() {
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue