opt/mupdf/Pkgfile
Juergen Daubert 9fd730fecd Merge branch '3.5' into 3.6
Conflicts:
	imagemagick/.signature
	mupdf/.signature
2020-10-09 12:49:57 +00:00

28 lines
700 B
Plaintext

# Description: Lightweight PDF and XPS viewer
# URL: https://www.mupdf.com/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: glu libglvnd harfbuzz libjpeg-turbo xorg-libxi
name=mupdf
version=1.18.0
release=1
source=(https://mupdf.com/downloads/archive/$name-$version-source.tar.xz)
build() {
cd $name-$version-source
export USE_SYSTEM_LIBS='yes'
make install \
prefix=$PKG/usr \
mandir=$PKG/usr/share/man \
XCFLAGS="-fpic -fcommon" \
USE_SYSTEM_JBIG2DEC='no' \
USE_SYSTEM_OPENJPEG='no' \
USE_SYSTEM_GLUT='no' \
USE_SYSTEM_GUMBO='no'
ln -s mupdf-gl $PKG/usr/bin/mupdf
rm -r $PKG/usr/share/doc
}