diff options
Diffstat (limited to 'games/ultimatestunts/ultimatestunts.SlackBuild')
-rw-r--r-- | games/ultimatestunts/ultimatestunts.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/games/ultimatestunts/ultimatestunts.SlackBuild b/games/ultimatestunts/ultimatestunts.SlackBuild index 6408fb4a6b59d..4ba36eee5c3a8 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 \ |