summaryrefslogtreecommitdiffstats
path: root/desktop/gtkhash/gtkhash.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/gtkhash/gtkhash.SlackBuild')
-rw-r--r--desktop/gtkhash/gtkhash.SlackBuild16
1 files changed, 6 insertions, 10 deletions
diff --git a/desktop/gtkhash/gtkhash.SlackBuild b/desktop/gtkhash/gtkhash.SlackBuild
index f05642b2d6..84335a958e 100644
--- a/desktop/gtkhash/gtkhash.SlackBuild
+++ b/desktop/gtkhash/gtkhash.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for GtkHash
-# Copyright 2014-2019 Aaditya Bagga <aaditya_gnulinux@zoho.com>
+# Copyright 2014-2022 Aaditya <aaditya_gnulinux@zoho.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gtkhash
-VERSION=${VERSION:-1.2}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.4}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,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
@@ -81,8 +78,9 @@ find -L . \
# cmd line args
libb2_params="--disable-blake2" ; [ "${BLAKE2:-no}" != "no" ] && libb2_params=""
-thunar_params="" ; [ "${THUNAR:-no}" != "no" ] && thunar_params="--enable-thunar --with-thunarx=2"
+thunar_params="--enable-thunar" ; [ "${THUNAR:-yes}" != "yes" ] && thunar_params=""
+./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -97,12 +95,10 @@ CXXFLAGS="$SLKCFLAGS" \
$thunar_params
# --enable-libcrypto \
# --enable-mbedtls \
-# --enable-mhash \
# --enable-nettle \
# --enable-caja
# --enable-nautilus \
# --enable-nemo \
-# --enable-debug \
make
make install DESTDIR=$PKG
@@ -112,7 +108,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog NEWS README.md TODO \
+ AUTHORS COPYING ChangeLog NEWS README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild