summaryrefslogtreecommitdiffstats
path: root/graphics/kuickshow/kuickshow.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/kuickshow/kuickshow.SlackBuild')
-rw-r--r--graphics/kuickshow/kuickshow.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/graphics/kuickshow/kuickshow.SlackBuild b/graphics/kuickshow/kuickshow.SlackBuild
index 5bb679618a..610ea1f32d 100644
--- a/graphics/kuickshow/kuickshow.SlackBuild
+++ b/graphics/kuickshow/kuickshow.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for KuickShow
-# Copyright 2013-2020, SlackBuilds.org Project, David Melik, Spokane, WA, USA
+# Copyright 2013-2024, SlackBuilds.org Project, David Melik, Spokane, WA, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,11 +25,13 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=kuickshow
-VERSION=${VERSION:-0.10.1}
+VERSION=${VERSION:-20240316_791359a}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+GITVER="$( echo $VERSION | cut -d_ -f2 )"
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -38,9 +40,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
@@ -69,9 +68,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$GITVER*
+tar xvf $CWD/$PRGNAM-$GITVER*.tar.?z
+cd $PRGNAM-$GITVER*
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \