24 lines
710 B
Plaintext
24 lines
710 B
Plaintext
# Description: Lightweight PDF and XPS viewer
|
|
# URL: http://www.mupdf.com/
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Depends on: glu harfbuzz libjpeg-turbo xorg-libxi xorg-libxrandr
|
|
|
|
name=mupdf
|
|
version=1.13.0
|
|
release=1
|
|
source=(https://mupdf.com/downloads/$name-$version-source.tar.xz)
|
|
|
|
build() {
|
|
cd $name-$version-source
|
|
|
|
# System lcms2 doesn't work, see
|
|
# http://git.ghostscript.com/?p=mupdf.git;a=commit;h=74a8100804c8f18e1e2a71435b1e191df49e81fd
|
|
rm -r thirdparty/{freetype,libjpeg,zlib,curl,harfbuzz}
|
|
|
|
make XCFLAGS="-fpic" build=release
|
|
make prefix=$PKG/usr mandir=$PKG/usr/share/man install
|
|
|
|
ln -s mupdf-gl $PKG/usr/bin/mupdf
|
|
rm -r $PKG/usr/share/doc
|
|
}
|