summaryrefslogtreecommitdiffstats
path: root/games/ultimatestunts/ultimatestunts.SlackBuild
diff options
context:
space:
mode:
author Johannes Schoepfer <slackbuilds@schoepfer.info>2020-02-08 01:52:48 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2020-02-08 01:52:48 +0700
commit4a144bf45acfe031790a64a569db8a5e36e2b0cf (patch)
tree704050ec9090ebdf31cbc4cb4af89632b0845765 /games/ultimatestunts/ultimatestunts.SlackBuild
parente68f5d4925ccf14e05b4190fd812a42b8e1168c0 (diff)
downloadslackbuilds-4a144bf45acfe031790a64a569db8a5e36e2b0cf.tar.gz
slackbuilds-4a144bf45acfe031790a64a569db8a5e36e2b0cf.tar.xz
games/ultimatestunts: Updated for version 0.7.7.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/ultimatestunts/ultimatestunts.SlackBuild')
-rw-r--r--games/ultimatestunts/ultimatestunts.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/games/ultimatestunts/ultimatestunts.SlackBuild b/games/ultimatestunts/ultimatestunts.SlackBuild
index 6408fb4a6b..4ba36eee5c 100644
--- a/games/ultimatestunts/ultimatestunts.SlackBuild
+++ b/games/ultimatestunts/ultimatestunts.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ultimatestunts
-# Copyright 2018 Johannes Schoepfer, Germany
+# Copyright 2018 - 2020 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ultimatestunts
-VERSION=${VERSION:-0771}
+VERSION=${VERSION:-0.7.7.1}
+SRC_VER=$(echo $VERSION | tr -d \.)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-srcdata-$VERSION
-tar xvf $CWD/$PRGNAM-srcdata-$VERSION.tar.gz
-cd $PRGNAM-srcdata-$VERSION
+rm -rf $PRGNAM-srcdata-$SRC_VER
+tar xvf $CWD/$PRGNAM-srcdata-$SRC_VER.tar.gz
+cd $PRGNAM-srcdata-$SRC_VER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \