diff options
Diffstat (limited to 'games/SecondLife/SecondLife.SlackBuild')
-rw-r--r-- | games/SecondLife/SecondLife.SlackBuild | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/games/SecondLife/SecondLife.SlackBuild b/games/SecondLife/SecondLife.SlackBuild index ba2e1f7216..c0411164e0 100644 --- a/games/SecondLife/SecondLife.SlackBuild +++ b/games/SecondLife/SecondLife.SlackBuild @@ -6,20 +6,25 @@ # This is an adaptation of the original script at slacky.eu repository PRGNAM=SecondLife -VERSION=1.23.5.136262 -ARCH=${ARCH:-i686} +VERSION=2.0.1.203797 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i686 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "x86_64" ]; then +if [ "$ARCH" != "i686" ]; then printf "\n\tThis is i686 only - sorry.\n\n" ; exit 1 -else - ARCH=i686 fi set -e |