aboutsummaryrefslogtreecommitdiff
path: root/games/domination
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-10-31 16:09:31 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-05 07:15:57 +0700
commit9b42bbd49b5f2cdead5a2ffd894f5aac224a0f05 (patch)
treec487c1a2ec53d686d2adecd3fdc03857aba0a0be /games/domination
parentd304280d3ef6d9ae23e8e0bc61562419c6ff59dd (diff)
games/domination: Use ARCH=noarch.
Diffstat (limited to 'games/domination')
-rw-r--r--games/domination/domination.SlackBuild27
1 files changed, 4 insertions, 23 deletions
diff --git a/games/domination/domination.SlackBuild b/games/domination/domination.SlackBuild
index 80ae5af9b622f..4ba9a04191207 100644
--- a/games/domination/domination.SlackBuild
+++ b/games/domination/domination.SlackBuild
@@ -9,38 +9,19 @@
# See README_SBo.txt for more info on this script (I wrote too many
# comments, moved them to a separate file).
+# 20161030 bkw: whoops, this should have been noarch to begin with.
+
PRGNAM=domination
VERSION=${VERSION:-1.1.1.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
+ARCH=noarch
CWD=$(pwd)
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
SRCNAM=Domination