diff options
Diffstat (limited to 'games/warzone2100')
-rw-r--r-- | games/warzone2100/README | 7 | ||||
-rw-r--r-- | games/warzone2100/warzone2100.SlackBuild | 12 | ||||
-rw-r--r-- | games/warzone2100/warzone2100.info | 6 |
3 files changed, 16 insertions, 9 deletions
diff --git a/games/warzone2100/README b/games/warzone2100/README index 85a5b4e029..9cfc669e8d 100644 --- a/games/warzone2100/README +++ b/games/warzone2100/README @@ -3,9 +3,10 @@ real time strategy game developed by Pumpkin Studios and published by Eidos Interactive in 1999. Warzone 2100 offers campaign, tutorial, multi-player and single-player -skirmish game modes, unit designer, unit experience system, and everything -you would expect from a modern RTS game. +skirmish game modes, unit designer, unit experience system, and +everything you would expect from a modern RTS game. The 3.x series does not transfer the 2.3 series saved games. -If you wish to include the animated movies, read the README.movies file. +If you wish to include the animated movies, read the README.movies +file. diff --git a/games/warzone2100/warzone2100.SlackBuild b/games/warzone2100/warzone2100.SlackBuild index b73e81e24a..5cf5a0cef6 100644 --- a/games/warzone2100/warzone2100.SlackBuild +++ b/games/warzone2100/warzone2100.SlackBuild @@ -34,7 +34,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=warzone2100 -VERSION=${VERSION:-4.1.3} +VERSION=${VERSION:-4.4.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -68,6 +68,9 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC -Wno-error=maybe-uninitialized" LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC -Wno-error=maybe-uninitialized" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2 -Wno-error=maybe-uninitialized" LIBDIRSUFFIX="" @@ -96,16 +99,19 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_MANDIR=/usr/man \ + -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \ -DCMAKE_INSTALL_BINDIR=games \ .. DESTDIR=$PKG cmake --build . --target install cd .. +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 + # Let's not pollute the themed icon directory mv $PKG/usr/share/icons $PKG/usr/share/pixmaps -# --docdir= above works :) -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/share/doc/$PRGNAM/$PRGNAM.SlackBuild +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/games/warzone2100/warzone2100.info b/games/warzone2100/warzone2100.info index 530054b137..87da2e7dbc 100644 --- a/games/warzone2100/warzone2100.info +++ b/games/warzone2100/warzone2100.info @@ -1,8 +1,8 @@ PRGNAM="warzone2100" -VERSION="4.1.3" +VERSION="4.4.2" HOMEPAGE="https://wz2100.net" -DOWNLOAD="https://github.com/Warzone2100/warzone2100/releases/download/4.1.3/warzone2100_src.tar.xz" -MD5SUM="8593b6f324c0b09a0644d63f97916f74" +DOWNLOAD="https://github.com/Warzone2100/warzone2100/releases/download/4.4.2/warzone2100_src.tar.xz" +MD5SUM="095026d76fa3957e513d9012ebf4376a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="physfs" |