aboutsummaryrefslogtreecommitdiff
path: root/office/zathura-pdf-mupdf
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2013-06-27 21:25:18 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2013-06-27 21:25:18 -0300
commitbc8504ef1c8db69eb9c136e6cdc3107d867cb9e0 (patch)
tree17723d0f963125123b662480f1c200815ab4b1fa /office/zathura-pdf-mupdf
parente43fab9fa2d59f91fe77ba141088f5f92ddf3f90 (diff)
office/zathura-pdf-mupdf: Updated for version 0.2.4.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'office/zathura-pdf-mupdf')
-rw-r--r--office/zathura-pdf-mupdf/README3
-rw-r--r--office/zathura-pdf-mupdf/doinst.sh3
-rw-r--r--office/zathura-pdf-mupdf/slack-desc2
-rw-r--r--office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild7
-rw-r--r--office/zathura-pdf-mupdf/zathura-pdf-mupdf.info6
5 files changed, 14 insertions, 7 deletions
diff --git a/office/zathura-pdf-mupdf/README b/office/zathura-pdf-mupdf/README
index 707c63c1af88..65ef0482c519 100644
--- a/office/zathura-pdf-mupdf/README
+++ b/office/zathura-pdf-mupdf/README
@@ -10,3 +10,6 @@ support having multiple plugins per filetype, so after installing
zathura-pdf-mupdf, zathura will always use the mupdf backend. To switch
back to the poppler backend, remove both zathura and zathura-pdf-mupdf,
then reinstall zathura.
+
+Note: Make sure your mupdf package has been upgraded to at least version
+1.2 before building this.
diff --git a/office/zathura-pdf-mupdf/doinst.sh b/office/zathura-pdf-mupdf/doinst.sh
new file mode 100644
index 000000000000..5fb28930db0b
--- /dev/null
+++ b/office/zathura-pdf-mupdf/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/office/zathura-pdf-mupdf/slack-desc b/office/zathura-pdf-mupdf/slack-desc
index 207974054647..4b65fdec7241 100644
--- a/office/zathura-pdf-mupdf/slack-desc
+++ b/office/zathura-pdf-mupdf/slack-desc
@@ -11,7 +11,7 @@ zathura-pdf-mupdf:
zathura-pdf-mupdf: The zathura-pdf-mupdf plugin adds PDF support to zathura by using
zathura-pdf-mupdf: the mupdf rendering library.
zathura-pdf-mupdf:
-zathura-pdf-mupdf: This requires zathura and mupdf.
+zathura-pdf-mupdf:
zathura-pdf-mupdf:
zathura-pdf-mupdf:
zathura-pdf-mupdf:
diff --git a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild
index 3ad1014d9d25..4b6aa5946d21 100644
--- a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild
+++ b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild
@@ -4,10 +4,10 @@
# Written by B. Watson (yalhcru@gmail.com)
-# Licensed under the WTFPL. See http://sam.zoy.org/wtfpl/ for details.
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=zathura-pdf-mupdf
-VERSION=${VERSION:-0.2.1}
+VERSION=${VERSION:-0.2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,7 +55,7 @@ find . \
sed -i "s,-fPIC,$SLKCFLAGS," config.mk
-make VERBOSE=1
+make
strip *.so
make install DESTDIR=$PKG
@@ -65,6 +65,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info
index 6c87b14e3745..5a856ed13e93 100644
--- a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info
+++ b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info
@@ -1,8 +1,8 @@
PRGNAM="zathura-pdf-mupdf"
-VERSION="0.2.1"
+VERSION="0.2.4"
HOMEPAGE="http://www.pwmt.org/projects/zathura/plugins/zathura-pdf-mupdf/"
-DOWNLOAD="http://www.pwmt.org/projects/zathura/plugins/download/zathura-pdf-mupdf-0.2.1.tar.gz"
-MD5SUM="954b6375b5d81e91cd7477e8a5b4552f"
+DOWNLOAD="http://www.pwmt.org/projects/zathura/plugins/download/zathura-pdf-mupdf-0.2.4.tar.gz"
+MD5SUM="aa9667425dab93147dd8605eda020e59"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="mupdf zathura"