games/domination: Use ARCH=noarch.

This commit is contained in:
B. Watson 2016-10-31 16:09:31 -04:00 committed by Willy Sudiarto Raharjo
parent d304280d3e
commit 9b42bbd49b
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -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