diff options
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 |