opt/mupdf/Pkgfile

25 lines
645 B
Plaintext
Raw Normal View History

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
2013-08-16 11:22:48 +02:00
# Depends on: curl freetype libjpeg xorg-libxext
2013-01-21 16:55:05 +01:00
name=mupdf
2014-04-17 12:22:18 +02:00
version=1.4
2014-04-08 16:50:55 +02:00
release=1
2014-04-08 18:40:28 +02:00
source=(http://mupdf.com/download/$name-$version-source.tar.gz
2014-04-08 16:50:55 +02:00
$name-sys_curl.patch)
2013-01-21 16:55:05 +01:00
build() {
cd $name-$version-source
2013-08-16 11:22:48 +02:00
patch -p1 -i $SRC/$name-sys_curl.patch
2013-08-16 11:22:48 +02:00
rm -r thirdparty/{freetype*,jpeg*,zlib,curl}
make build=release
2013-01-21 16:55:05 +01:00
make prefix=$PKG/usr mandir=$PKG/usr/man install
2014-04-08 16:50:55 +02:00
2013-08-16 11:22:48 +02:00
ln -s mupdf-x11-curl $PKG/usr/bin/mupdf
2014-04-08 16:50:55 +02:00
rm $PKG/usr/bin/mupdf-x11
2013-08-16 11:22:48 +02:00
rm -r $PKG/usr/{include,lib,share}
2013-01-21 16:55:05 +01:00
}