From 86ab0896f4acd048936a6c4c69228bc5575d9319 Mon Sep 17 00:00:00 2001 From: Hunter Sezen Date: Sun, 9 Jul 2017 19:53:30 +0100 Subject: games/pioneer: Updated for version 20170415. Signed-off-by: David Spencer --- games/pioneer/pioneer.SlackBuild | 33 ++++++++++++++++++--------------- games/pioneer/pioneer.info | 6 +++--- 2 files changed, 21 insertions(+), 18 deletions(-) (limited to 'games/pioneer') diff --git a/games/pioneer/pioneer.SlackBuild b/games/pioneer/pioneer.SlackBuild index 1adf9754e4..e6d4cfdd82 100644 --- a/games/pioneer/pioneer.SlackBuild +++ b/games/pioneer/pioneer.SlackBuild @@ -23,7 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pioneer -VERSION=${VERSION:-20161129} +SRCNAM=$(printf %s $PRGNAM | tr [a-z] [A-Z]) +VERSION=${VERSION:-20170415} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,7 +55,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -69,15 +70,15 @@ 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} +DATADIR="${DATADIR:-/usr/share/games}" -if [ "${DEBUG:-no}" = "yes" ]; then - debug="--enable-debug \ +if [ "${DEBUG:-no}" = yes ]; then + debug='--enable-debug \ --with-no-optimise \ - --with-fno-inline" - SLKCFLAGS=$(echo $SLKCFLAGS | sed 's/-O2/-O0/') + --with-fno-inline' + SLKCFLAGS="$(printf %s "$SLKCFLAGS" | sed 's/-O2/-O0/')" else - debug="--with-strip" + debug='--with-strip' fi # Generate the configure file @@ -99,25 +100,27 @@ make install DESTDIR=$PKG mkdir -p $PKG/usr/share/applications cat > $PKG/usr/share/applications/$PRGNAM.desktop <