diff options
Diffstat (limited to 'games/UrbanTerror/UrbanTerror.SlackBuild')
-rw-r--r-- | games/UrbanTerror/UrbanTerror.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/games/UrbanTerror/UrbanTerror.SlackBuild b/games/UrbanTerror/UrbanTerror.SlackBuild index 4cf3998323..2b4c415c26 100644 --- a/games/UrbanTerror/UrbanTerror.SlackBuild +++ b/games/UrbanTerror/UrbanTerror.SlackBuild @@ -14,10 +14,17 @@ PRGNAM=UrbanTerror VERSION=${VERSION:-4.1} -ARCH=${ARCH:-i486} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM |