diff options
Diffstat (limited to 'games/pioneer/pioneer.SlackBuild')
-rw-r--r-- | games/pioneer/pioneer.SlackBuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/games/pioneer/pioneer.SlackBuild b/games/pioneer/pioneer.SlackBuild index dffb4685265f1..ed3fb4c5f6fdd 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 \ |