diff options
author | Tim Dickson <dickson.tim@googlemail.com> | 2020-05-29 19:50:05 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-06-01 08:46:29 +0700 |
commit | eb91d00a4a47d21bd212a57f0ece1e02d4711a08 (patch) | |
tree | e16ff02c53236464c62f8e7643bd03b14042cf59 /games/starfighter/starfighter.SlackBuild | |
parent | df49daf458379657bc8b4d6ea22df0971beee82b (diff) | |
download | slackbuilds-eb91d00a4a47d21bd212a57f0ece1e02d4711a08.tar.gz |
games/starfighter: Updated for version 2.2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/starfighter/starfighter.SlackBuild')
-rw-r--r-- | games/starfighter/starfighter.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/games/starfighter/starfighter.SlackBuild b/games/starfighter/starfighter.SlackBuild index 81ba01725b..8c77ca3a14 100644 --- a/games/starfighter/starfighter.SlackBuild +++ b/games/starfighter/starfighter.SlackBuild @@ -13,9 +13,10 @@ # updated 22/07/2019 for v2.0 (2.0.0.3) # updated 09/04/2020 for v2.1 applied workrounds for compile flag updates # and change in source tar file. +# updated 28/05/2020 for v2.2 PRGNAM=starfighter -VERSION=${VERSION:-2.1} +VERSION=${VERSION:-2.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -51,8 +52,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION-src -#change tar options to remove warning. -tar -xv --warning=no-unknown-keyword -f $CWD/$PRGNAM-$VERSION-src.tar.gz +tar -xvf $CWD/$PRGNAM-$VERSION-src.tar.gz cd $PRGNAM-$VERSION-src chown -R root:root . find -L . \ @@ -61,10 +61,10 @@ 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 {} \; -CFLAGS="$SLKFLAGS" -CXXFLAGS="$SLKCFLAGS" -#add extra nowarn option for gcc versions<8 -./configure SF_NOWARN=1\ +CFLAGS="$SLKFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + SF_NOWARN=1 \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ |