aboutsummaryrefslogtreecommitdiff
path: root/games/solarwolf
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-07 21:11:34 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-14 08:50:21 +0700
commit7cfdec026a807fd01a7dd1e7dd570db55e0cd14e (patch)
tree2bf8adcd0201cd3474eff7f503169fc1c6bb654f /games/solarwolf
parent44ce140ae6f63f1faeb557a08ed59bc36f197052 (diff)
games/solarwolf: ARCH=noarch.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/solarwolf')
-rw-r--r--games/solarwolf/solarwolf.SlackBuild27
1 files changed, 4 insertions, 23 deletions
diff --git a/games/solarwolf/solarwolf.SlackBuild b/games/solarwolf/solarwolf.SlackBuild
index 2475a2ad4238..09f0cef25434 100644
--- a/games/solarwolf/solarwolf.SlackBuild
+++ b/games/solarwolf/solarwolf.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230107 bkw: BUILD=3, ARCH=noarch.
+
# 20211228 bkw: BUILD=2.
# SDL2_mixer on -current utterly lacks support for tracker music
# (.mod, .it, .xm, etc). This game's music is in .xm format... so
@@ -27,17 +29,10 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=solarwolf
VERSION=${VERSION:-1.5}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
+ARCH=noarch
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
@@ -48,20 +43,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG