diff options
author | Martin Rogge <martin_rogge@users.sourceforge.net> | 2012-12-20 13:32:48 +0100 |
---|---|---|
committer | Matteo Bernardini <ponce@slackbuilds.org> | 2012-12-20 13:33:22 +0100 |
commit | c7b78b143a3988ad1b18ab2825a3a140fafa34b9 (patch) | |
tree | d6be4f50342df301bb510671064fcae04d270678 /games/firestorm/firestorm.SlackBuild | |
parent | d3b9f557b91ab9a1cf9d2c9dc08b46e8ad5bf873 (diff) | |
download | slackbuilds-c7b78b143a3988ad1b18ab2825a3a140fafa34b9.tar.gz |
games/firestorm: Updated for version 4.3.1.31155, added notes.
(cleanups --ponce)
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/firestorm/firestorm.SlackBuild')
-rw-r--r-- | games/firestorm/firestorm.SlackBuild | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/games/firestorm/firestorm.SlackBuild b/games/firestorm/firestorm.SlackBuild index ce156f1156..fa7c95ae3c 100644 --- a/games/firestorm/firestorm.SlackBuild +++ b/games/firestorm/firestorm.SlackBuild @@ -24,7 +24,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=firestorm -VERSION=${VERSION:-4.1.1.28744} +VERSION=${VERSION:-4.3.1.31155} +EXTRAVERSION=${EXTRAVERSION:-SL} # set to OS for OPenSim version BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -49,13 +50,14 @@ fi set -e BASENAME="Phoenix_Firestorm-Release_i686_${VERSION}" -FILENAME="Phoenix_Firestorm-Release_i686_${VERSION}.tar.bz2" +#FILENAME="Phoenix_Firestorm-Release_${VERSION//./-}.tar.bz2" +FILENAME="Phoenix_Firestorm-Release_i686_${VERSION}${EXTRAVERSION}.tar.bz2" rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $BASENAME -tar xvjf $CWD/$FILENAME +tar xvf $CWD/$FILENAME cd $BASENAME chown -R root:root . @@ -65,15 +67,16 @@ mkdir -p $PKG/opt/$PRGNAM # copy files just like the install script would do cp -a * $PKG/opt/$PRGNAM # avoid overwriting the previous configuration -mv $PKG/opt/$PRGNAM/firestorm $PKG/opt/$PRGNAM/firestorm.new +mv $PKG/opt/$PRGNAM/$PRGNAM $PKG/opt/$PRGNAM/$PRGNAM.new # sound configuration for standard Slackware installation -cat firestorm | sed -e 's/^#export LL_BAD_OPENAL_DRIVER=x/export LL_BAD_OPENAL_DRIVER=x/' > $PKG/opt/$PRGNAM/firestorm.new +cat firestorm | sed -e 's/^#export LL_BAD_OPENAL_DRIVER=x/export LL_BAD_OPENAL_DRIVER=x/' \ + > $PKG/opt/$PRGNAM/$PRGNAM.new mkdir -p $PKG/usr/bin cat << EOF > $PKG/usr/bin/$PRGNAM #!/bin/bash cd /opt/$PRGNAM -exec /opt/$PRGNAM/firestorm +exec /opt/$PRGNAM/$PRGNAM EOF chmod 755 $PKG/usr/bin/$PRGNAM @@ -83,9 +86,9 @@ mkdir -p $PKG/usr/share/applications cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - FIRESTORM_DESKTOPINSTALL.txt README*.txt VivoxAUP.txt featuretable_linux.txt gpu_table.txt licenses.txt \ - $PKG/usr/doc/$PRGNAM-$VERSION/ +DOCS="FIRESTORM_DESKTOPINSTALL.txt README*.txt VivoxAUP.txt featuretable_linux.txt gpu_table.txt licenses.txt" +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +( cd $PKG/opt/$PRGNAM ; rm -f $DOCS ) cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |