summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
author Arn02023-11-07 10:52:05 +0100
committer Willy Sudiarto Raharjo2023-11-07 18:04:10 +0100
commitc6123e2233fe8aa2b0d26bb5c59a1bf8d32f2f55 (patch)
tree7cea97b9a69a58d5fff5abeb1ab80dc0f9c90686 /games
parentf9f97d0290cf14afd293f4424e7eb06cedb724f5 (diff)
downloadslackbuilds-c6123e2233fe8aa2b0d26bb5c59a1bf8d32f2f55.tar.gz
games/warzone2100: updated for version 4.4.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/warzone2100/warzone2100.SlackBuild8
-rw-r--r--games/warzone2100/warzone2100.info6
2 files changed, 10 insertions, 4 deletions
diff --git a/games/warzone2100/warzone2100.SlackBuild b/games/warzone2100/warzone2100.SlackBuild
index 7bab0167f7..7da2a4fd36 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 ea5534f278..858eff7e00 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"