diff options
-rw-r--r-- | games/stuntrally/README | 8 | ||||
-rw-r--r-- | games/stuntrally/stuntrally.SlackBuild | 33 | ||||
-rw-r--r-- | games/stuntrally/stuntrally.info | 10 |
3 files changed, 21 insertions, 30 deletions
diff --git a/games/stuntrally/README b/games/stuntrally/README index 92453e9b387a..2fd05bfdaa2a 100644 --- a/games/stuntrally/README +++ b/games/stuntrally/README @@ -1,6 +1,6 @@ stuntrally (game based on VDrift and OGRE, with Track Editor) -The game features 172 tracks in 34 sceneries and 25 vehicles. Game +The game features 191 tracks in 34 sceneries and 28 vehicles. Game modes include: single race, tutorials, championships, challenges, multiplayer and split screen. Replays and Ghost drive are available. The Track Editor allows creating and modifying tracks. @@ -8,7 +8,5 @@ The Track Editor allows creating and modifying tracks. The game aims at a rally style of driving (like in Richard Burns Rally), with possible stunt elements (jumps, loops, pipes). -Required Dependency - -ogre needs to be built with FreeImage for stuntrally to work. If you -built ogre prior to installing FreeImage, you will need to rebuild ogre. +This is currently repackaging the binary version until stuntrally can be +ported to ogre-1.11+. diff --git a/games/stuntrally/stuntrally.SlackBuild b/games/stuntrally/stuntrally.SlackBuild index 60d2a75f685a..c3a8131f9952 100644 --- a/games/stuntrally/stuntrally.SlackBuild +++ b/games/stuntrally/stuntrally.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for stuntrally -# Copyright 2017 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> +# Copyright 2017-2020 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=stuntrally -VERSION=${VERSION:-2.6.1} +SRCNAM=StuntRally +VERSION=${VERSION:-2.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,35 +60,29 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -tar xvf $CWD/tracks-$VERSION.tar.gz -mv tracks-$VERSION/ data/tracks +rm -rf $SRCNAM-$VERSION-linux64 +tar xvf $CWD/$SRCNAM-$VERSION-linux.tar.gz +cd $SRCNAM-$VERSION-linux64 chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -mkdir -p build -cd build - cmake \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -fpermissive" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -DCMAKE_BUILD_TYPE=Release .. - make - make install DESTDIR=$PKG cd .. +mkdir -p $PKG/{opt/$PRGNAM/,usr/bin/} +cp -r StuntRally-$VERSION-linux64/* $PKG/opt/$PRGNAM/ + +cd $PKG +ln -s /opt/$PRGNAM/stuntrally usr/bin/ +ln -s /opt/$PRGNAM/sr-editor usr/bin/ +mv opt/$PRGNAM/share usr/ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a License.txt Readme.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -a opt/$PRGNAM/License.txt opt/$PRGNAM/Readme.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/games/stuntrally/stuntrally.info b/games/stuntrally/stuntrally.info index 3b8f7ca2a4f3..72700ca438a1 100644 --- a/games/stuntrally/stuntrally.info +++ b/games/stuntrally/stuntrally.info @@ -1,12 +1,10 @@ PRGNAM="stuntrally" -VERSION="2.6.1" +VERSION="2.6" HOMEPAGE="http://stuntrally.tuxfamily.org/" -DOWNLOAD="https://github.com/stuntrally/stuntrally/archive/2.6.1/stuntrally-2.6.1.tar.gz \ - https://github.com/stuntrally/tracks/archive/2.6.1/tracks-2.6.1.tar.gz" -MD5SUM="03f64cd2724d51888d42da3208710c65 \ - fc075a198ad2ec4bf4b4739010761a25" +DOWNLOAD="http://downloads.sourceforge.net/stuntrally/2.6/StuntRally-2.6-linux.tar.gz" +MD5SUM="5be1af1b727af2bc7f5bd5e34c2deb8a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="MyGUI SDL2 enet bullet OpenAL FreeImage" +REQUIRES="" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" |