summaryrefslogtreecommitdiffstats
path: root/games/ultimatestunts/ultimatestunts.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/ultimatestunts/ultimatestunts.SlackBuild')
-rw-r--r--games/ultimatestunts/ultimatestunts.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/games/ultimatestunts/ultimatestunts.SlackBuild b/games/ultimatestunts/ultimatestunts.SlackBuild
index 093fd3d33f..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
+# 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 \
@@ -78,7 +79,7 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--build=$ARCH-slackware-linux
-make -j1
+make
make sysconfdir=$PKG/etc prefix=$PKG/usr install
mv $PKG/etc/$PRGNAM.conf $PKG/etc/$PRGNAM.conf.new