aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--office/zathura-ps/zathura-ps.SlackBuild22
-rw-r--r--office/zathura-ps/zathura-ps.info6
2 files changed, 19 insertions, 9 deletions
diff --git a/office/zathura-ps/zathura-ps.SlackBuild b/office/zathura-ps/zathura-ps.SlackBuild
index 0339b95e7ffc..48324b0ca758 100644
--- a/office/zathura-ps/zathura-ps.SlackBuild
+++ b/office/zathura-ps/zathura-ps.SlackBuild
@@ -6,10 +6,12 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20240926 bkw: update for v0.2.8.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=zathura-ps
-VERSION=${VERSION:-0.2.7}
+VERSION=${VERSION:-0.2.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -54,8 +56,15 @@ 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: I don't know why upstream bumped the minimum required
+# meson version to 0.61. Changing it back to 0.59 works fine, meaning
+# they aren't actually *using* any of the new features in 0.61. It
+# seems like an upgrade treadmill, just for the sake of bigger version
+# numbers.
+sed -i '/meson_version:/s,0.61,0.59,' meson.build
mkdir build
cd build
@@ -74,9 +83,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-ps/zathura-ps.info b/office/zathura-ps/zathura-ps.info
index eecc1e1af221..c3804839253c 100644
--- a/office/zathura-ps/zathura-ps.info
+++ b/office/zathura-ps/zathura-ps.info
@@ -1,8 +1,8 @@
PRGNAM="zathura-ps"
-VERSION="0.2.7"
+VERSION="0.2.8"
HOMEPAGE="https://github.com/pwmt/zathura-ps"
-DOWNLOAD="https://github.com/pwmt/zathura-ps/archive/0.2.7/zathura-ps-0.2.7.tar.gz"
-MD5SUM="191bfb07de675bf9427b3d0364fd57fd"
+DOWNLOAD="https://github.com/pwmt/zathura-ps/archive/0.2.8/zathura-ps-0.2.8.tar.gz"
+MD5SUM="ae9c938c144d34761e2e08f55734e4a8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="zathura"