aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-09-26 16:48:43 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-28 06:54:30 +0700
commit98372c6c2a61f1ad042526a4940133f72e7a3e38 (patch)
treebee2b6d64a2e8ba7f4b4a2ad7c25519793df7bde
parentec4b35e2d7983dd7d06cbca9f7eff7ac713378c7 (diff)
office/zathura-djvu: Updated for version 0.2.10.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--office/zathura-djvu/zathura-djvu.SlackBuild19
-rw-r--r--office/zathura-djvu/zathura-djvu.info6
2 files changed, 16 insertions, 9 deletions
diff --git a/office/zathura-djvu/zathura-djvu.SlackBuild b/office/zathura-djvu/zathura-djvu.SlackBuild
index 602eeea62e79..a1a0d677ad52 100644
--- a/office/zathura-djvu/zathura-djvu.SlackBuild
+++ b/office/zathura-djvu/zathura-djvu.SlackBuild
@@ -6,10 +6,12 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20240926 bkw: update for v0.2.10.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=zathura-djvu
-VERSION=${VERSION:-0.2.9}
+VERSION=${VERSION:-0.2.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -54,8 +56,12 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
- \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+# 20240926 bkw: Upstream bumped the meson ver, but it works fine
+# with our older meson. No idea why people do stuff like this.
+sed -i '/meson_version:/s,0.61,0.59,' meson.build
mkdir build
cd build
@@ -74,9 +80,10 @@ cd build
DESTDIR=$PKG $NINJA install
cd ..
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a AUTHORS LICENSE $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/office/zathura-djvu/zathura-djvu.info b/office/zathura-djvu/zathura-djvu.info
index bbb162bdac4e..9fffdf4cb9a8 100644
--- a/office/zathura-djvu/zathura-djvu.info
+++ b/office/zathura-djvu/zathura-djvu.info
@@ -1,8 +1,8 @@
PRGNAM="zathura-djvu"
-VERSION="0.2.9"
+VERSION="0.2.10"
HOMEPAGE="https://github.com/pwmt/zathura-djvu"
-DOWNLOAD="https://github.com/pwmt/zathura-djvu/archive/0.2.9/zathura-djvu-0.2.9.tar.gz"
-MD5SUM="d2b3141f200391e609f6fc4fc012ea86"
+DOWNLOAD="https://github.com/pwmt/zathura-djvu/archive/0.2.10/zathura-djvu-0.2.10.tar.gz"
+MD5SUM="5aba442c02742009ed0da61363080d92"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="zathura"