diff options
author | Arn0 <yth@ythogtha.org> | 2023-11-07 10:52:05 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-11-08 00:04:10 +0700 |
commit | c6123e2233fe8aa2b0d26bb5c59a1bf8d32f2f55 (patch) | |
tree | 7cea97b9a69a58d5fff5abeb1ab80dc0f9c90686 | |
parent | f9f97d0290cf14afd293f4424e7eb06cedb724f5 (diff) |
games/warzone2100: updated for version 4.4.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | games/warzone2100/warzone2100.SlackBuild | 8 | ||||
-rw-r--r-- | games/warzone2100/warzone2100.info | 6 |
2 files changed, 10 insertions, 4 deletions
diff --git a/games/warzone2100/warzone2100.SlackBuild b/games/warzone2100/warzone2100.SlackBuild index 7bab0167f700d..7da2a4fd36a58 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.3.5} +VERSION=${VERSION:-4.4.0} 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="" @@ -102,6 +105,9 @@ cd build 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 diff --git a/games/warzone2100/warzone2100.info b/games/warzone2100/warzone2100.info index ea5534f27857c..858eff7e00e58 100644 --- a/games/warzone2100/warzone2100.info +++ b/games/warzone2100/warzone2100.info @@ -1,8 +1,8 @@ PRGNAM="warzone2100" -VERSION="4.3.5" +VERSION="4.4.0" HOMEPAGE="https://wz2100.net" -DOWNLOAD="https://github.com/Warzone2100/warzone2100/releases/download/4.3.5/warzone2100_src.tar.xz" -MD5SUM="8546b6775994a2cd6c3d662e7ad4e660" +DOWNLOAD="https://github.com/Warzone2100/warzone2100/releases/download/4.4.0/warzone2100_src.tar.xz" +MD5SUM="88f46d82883c7809d41850fe585447ac" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="physfs" |