blob: 9c5e1a6c2610d4a9a69ce733c5317fed8a691dd6 (
plain)
1 # Description: Lightweight PDF and XPS viewer
2 # URL: http://www.mupdf.com/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: glu harfbuzz libjpeg-turbo xorg-libxi xorg-libxrandr
5
6 name=mupdf
7 version=1.12.0
8 release=1
9 source=(https://mupdf.com/downloads/$name-$version-source.tar.xz)
10
11 build() {
12 cd $name-$version-source
13
14 # System lcms2 doesn't work, see
15 # http://git.ghostscript.com/?p=mupdf.git;a=commit;h=74a8100804c8f18e1e2a71435b1e191df49e81fd
16 rm -r thirdparty/{freetype,libjpeg,zlib,curl,harfbuzz}
17
18 make XCFLAGS="-fpic" build=release
19 make prefix=$PKG/usr mandir=$PKG/usr/share/man install
20
21 ln -s mupdf-x11-curl $PKG/usr/bin/mupdf
22 rm -r $PKG/usr/share/doc
23 }
|