From 9b42bbd49b5f2cdead5a2ffd894f5aac224a0f05 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 31 Oct 2016 16:09:31 -0400 Subject: games/domination: Use ARCH=noarch. --- games/domination/domination.SlackBuild | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/games/domination/domination.SlackBuild b/games/domination/domination.SlackBuild index 80ae5af9b622..4ba9a0419120 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 -- cgit v1.2.3