aboutsummaryrefslogtreecommitdiff
path: root/development/ghex/ghex.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/ghex/ghex.SlackBuild')
-rw-r--r--development/ghex/ghex.SlackBuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/development/ghex/ghex.SlackBuild b/development/ghex/ghex.SlackBuild
index 316448b51167d..492c7eefc3c02 100644
--- a/development/ghex/ghex.SlackBuild
+++ b/development/ghex/ghex.SlackBuild
@@ -10,10 +10,16 @@
# no gnome dependencies (just GTK3). Previous versions (2.x) did depend
# on gnome so I never wanted to package them...
+# 20210831 bkw: update for v3.41.beta. Normally I wouldn't package
+# a beta, but the beta has the ability to copy/paste raw binary
+# data between ghex windows (of the same instance of ghex, anyway).
+# And the new upstream ghex maintainer is a friend (and also a SBo
+# contributor; hi Logan!)
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ghex
-VERSION=${VERSION:-3.18.4}
+VERSION=${VERSION:-3.41.beta}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -26,9 +32,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -85,12 +88,11 @@ meson \
--strip \
build
-"${NINJA:=ninja}"
-DESTDIR="$PKG" $NINJA -C build install
+DESTDIR="$PKG" ${NINJA:-ninja} -C build install
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKGDOC
-cp -a AUTHORS COPYING* HACKING NEWS README $PKGDOC
+cp -a COPYING* HACKING NEWS README* $PKGDOC
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
# Generate the HTML help, for those who don't want to install yelp.