diff options
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 81ba01725b95..8c77ca3a1489 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 \ |