summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 707c63c1af..65ef0482c5 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 0000000000..5fb28930db
--- /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 2079740546..4b65fdec72 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 3ad1014d9d..4b6aa5946d 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 6c87b14e37..5a856ed13e 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"