2013-01-21 16:55:05 +01:00
|
|
|
# Description: Lightweight PDF and XPS viewer
|
|
|
|
# URL: http://www.mupdf.com/
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2018-10-09 19:44:32 +02:00
|
|
|
# Depends on: glu xorg-libxrandr xorg-libxi
|
2013-01-21 16:55:05 +01:00
|
|
|
|
|
|
|
name=mupdf
|
2018-10-09 13:21:45 +02:00
|
|
|
version=1.14.0
|
2017-12-14 13:31:58 +01:00
|
|
|
release=1
|
2018-10-09 13:21:45 +02:00
|
|
|
source=(https://mupdf.com/downloads/archive/$name-$version-source.tar.xz)
|
2013-01-21 16:55:05 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version-source
|
2017-01-08 13:58:04 +01:00
|
|
|
|
2018-10-09 13:21:45 +02:00
|
|
|
export USE_SYSTEM_LIBS='no'
|
2017-01-08 13:58:04 +01:00
|
|
|
|
2018-10-09 13:21:45 +02:00
|
|
|
make XCFLAGS="-fpic"
|
2016-04-21 16:01:51 +02:00
|
|
|
make prefix=$PKG/usr mandir=$PKG/usr/share/man install
|
2017-01-08 13:58:04 +01:00
|
|
|
|
2018-04-20 10:49:57 +02:00
|
|
|
ln -s mupdf-gl $PKG/usr/bin/mupdf
|
2016-04-21 16:01:51 +02:00
|
|
|
rm -r $PKG/usr/share/doc
|
2018-10-09 13:21:45 +02:00
|
|
|
}
|