diff options
Diffstat (limited to 'games/domination')
-rw-r--r-- | games/domination/domination.SlackBuild | 27 |
1 files changed, 4 insertions, 23 deletions
diff --git a/games/domination/domination.SlackBuild b/games/domination/domination.SlackBuild index 80ae5af9b6..4ba9a04191 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 |