diff options
author | B. Watson <yalhcru@gmail.com> | 2014-08-22 17:43:06 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-08-22 17:43:06 +0700 |
commit | 4f36fb5807d77d232b040f8308cc648fea57afc9 (patch) | |
tree | 983c0a690a868a82952f2660ce5101aa0299ee21 /office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild | |
parent | 303e0f3ac8ede80e1e2fd1f3dddfdaea876f1d8f (diff) |
office/zathura-pdf-mupdf: Updated for version 0.2.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild')
-rw-r--r-- | office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild index 2281bf8805a4..7e7be3cb6a00 100644 --- a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild +++ b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild @@ -7,7 +7,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. PRGNAM=zathura-pdf-mupdf -VERSION=${VERSION:-0.2.4} +VERSION=${VERSION:-0.2.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -40,10 +40,7 @@ fi set -e -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . @@ -53,9 +50,14 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -sed -i "s,-fPIC,$SLKCFLAGS," config.mk +# mupdf 1.4 and later no longer have libmupdf-js-none (moved to libmupdf). +# Anyway it's better to use pkg-config now that mupdf supports it. +sed -i \ + -e "s,-fPIC,$SLKCFLAGS," \ + -e '/^MUPDF_LIB/s,-.*,$(shell pkg-config --libs mupdf),' \ + config.mk -make +make VERBOSE=1 strip *.so make install DESTDIR=$PKG |