aboutsummaryrefslogtreecommitdiff
path: root/games/pioneer/pioneer.SlackBuild
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2017-12-17 18:30:34 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-12-17 18:30:34 +0700
commit900ae7465e6d72914088a8715fffb90d73a37e9c (patch)
tree809e7cbae838552cc07cbca2f8c02102d73ebb85 /games/pioneer/pioneer.SlackBuild
parentc0ad493166d24f0b787e1cca38573c7713ec5e07 (diff)
downloadslackbuilds-900ae7465e6d72914088a8715fffb90d73a37e9c.tar.xz
games/pioneer: Updated for version 20171001.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/pioneer/pioneer.SlackBuild')
-rw-r--r--games/pioneer/pioneer.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/games/pioneer/pioneer.SlackBuild b/games/pioneer/pioneer.SlackBuild
index dffb4685265f..ed3fb4c5f6fd 100644
--- a/games/pioneer/pioneer.SlackBuild
+++ b/games/pioneer/pioneer.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=pioneer
SRCNAM=$(printf %s $PRGNAM | tr [a-z] [A-Z])
-VERSION=${VERSION:-20170827}
+VERSION=${VERSION:-20171001}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,9 +70,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-DATADIR="${DATADIR:-/usr/share/games}"
-
-if [ "${DEBUG:-no}" = yes ]; then
+if [ "${DEBUG:-no}" != no ]; then
debug="--enable-debug \
--with-no-optimise \
--with-fno-inline"
@@ -86,7 +84,7 @@ fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-PIONEER_DATA_DIR="$DATADIR/$PRGNAM" \
+PIONEER_DATA_DIR="${DATADIR:-/usr/share/games}/$PRGNAM" \
./configure \
--prefix=/usr \
--bindir=/usr/games \