mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-06 08:26:50 +01:00
games/starfighter: Updated for version 2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
dec1e9be82
commit
22ac1a019a
2 changed files with 10 additions and 6 deletions
|
@ -11,9 +11,11 @@
|
|||
# doc location still changed to support slackware prefered location
|
||||
# updated 05/03/2017 for v1.7
|
||||
# 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.
|
||||
|
||||
PRGNAM=starfighter
|
||||
VERSION=${VERSION:-2.0}
|
||||
VERSION=${VERSION:-2.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -49,7 +51,8 @@ rm -rf $PKG
|
|||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION-src
|
||||
tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz
|
||||
#change tar options to remove warning.
|
||||
tar -xv --warning=no-unknown-keyword -f $CWD/$PRGNAM-$VERSION-src.tar.gz
|
||||
cd $PRGNAM-$VERSION-src
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
|
@ -60,7 +63,8 @@ find -L . \
|
|||
|
||||
CFLAGS="$SLKFLAGS"
|
||||
CXXFLAGS="$SLKCFLAGS"
|
||||
./configure \
|
||||
#add extra nowarn option for gcc versions<8
|
||||
./configure SF_NOWARN=1\
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="starfighter"
|
||||
VERSION="2.0"
|
||||
VERSION="2.1"
|
||||
HOMEPAGE="https://github.com/pr-starfighter/starfighter/"
|
||||
DOWNLOAD="https://github.com/pr-starfighter/starfighter/releases/download/v2.0.0.3/starfighter-2.0-src.tar.gz"
|
||||
MD5SUM="dcb7da670b84acfc25cf146df3033045"
|
||||
DOWNLOAD="https://github.com/pr-starfighter/starfighter/releases/download/v2.1/starfighter-2.1-src.tar.gz"
|
||||
MD5SUM="b2dc59a9a28389e8c7a14d3a83d946e8"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="SDL2_image SDL2_mixer"
|
||||
|
|
Loading…
Reference in a new issue