diff options
author | David Melik <dchmelik@gmail.com> | 2022-07-25 15:14:49 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-07-25 15:14:49 +0700 |
commit | b5cc7860a8005e2d58fe2edc9fdb5bc7605b57ee (patch) | |
tree | 180866e1fdc6a26ec9976465b4dbfc60b6b8e11e /graphics/kuickshow/kuickshow.SlackBuild | |
parent | 4bea1bfe8c4badf8f258930c638019d91057f530 (diff) |
graphics/kuickshow: Updated for version 20220618_a9c29cc.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/kuickshow/kuickshow.SlackBuild')
-rw-r--r-- | graphics/kuickshow/kuickshow.SlackBuild | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/graphics/kuickshow/kuickshow.SlackBuild b/graphics/kuickshow/kuickshow.SlackBuild index 5bb679618ada5..d127bad48522b 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-2022, 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:-20220618_a9c29cc} 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 \) \ |