mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
office/zathura-pdf-mupdf: Updated for version 0.3.1.
This commit is contained in:
parent
1f26589e78
commit
7b0fc39253
3 changed files with 6 additions and 9 deletions
|
@ -7,7 +7,7 @@ Requirements
|
|||
------------
|
||||
zathura (>= 0.2.0)
|
||||
girara
|
||||
mupdf (>= 1.3)
|
||||
mupdf (>= 1.7)
|
||||
openjpeg (>= 2.0)
|
||||
|
||||
Installation
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||
|
||||
PRGNAM=zathura-pdf-mupdf
|
||||
VERSION=${VERSION:-0.3.0}
|
||||
VERSION=${VERSION:-0.3.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -56,10 +56,6 @@ find -L . \
|
|||
# Upstream left the README out of the release tarball for some reason.
|
||||
cat $CWD/upstream.README > README
|
||||
|
||||
# Patch for mupdf-1.9 API changes, from upstream's git:
|
||||
# https://git.pwmt.org/pwmt/zathura-pdf-mupdf/commit/e3e49d206fbe5761c53a85b9499c940a0d718c8a
|
||||
patch -p1 < $CWD/mupdf19.diff
|
||||
|
||||
# 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 \
|
||||
|
@ -77,6 +73,7 @@ ln -s pdf-mupdf/pdf.so $PKG/$PLUGDIR/pdf.so
|
|||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a README AUTHORS LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README_SBo.txt
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="zathura-pdf-mupdf"
|
||||
VERSION="0.3.0"
|
||||
VERSION="0.3.1"
|
||||
HOMEPAGE="https://www.pwmt.org/projects/zathura-pdf-mupdf/"
|
||||
DOWNLOAD="http://www.pwmt.org/projects/zathura/plugins/download/zathura-pdf-mupdf-0.3.0.tar.gz"
|
||||
MD5SUM="523781d0adb8f4ddd93fc3bb6faf6e43"
|
||||
DOWNLOAD="https://www.pwmt.org/projects/zathura/plugins/download/zathura-pdf-mupdf-0.3.1.tar.gz"
|
||||
MD5SUM="5a98b367b8f4a5f33d8005f9130d88e9"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="mupdf zathura"
|
||||
|
|
Loading…
Reference in a new issue