aboutsummaryrefslogtreecommitdiff
path: root/games/SecondLife/SecondLife.SlackBuild
diff options
context:
space:
mode:
authorDaniel R <danielrodriguez.es@gmail.com>2010-06-29 11:45:00 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-29 11:45:00 -0500
commitcf2d7af313ebec965a0a7a739b4bf62234f4fd87 (patch)
treeeea4eba2f63cce12cc1c1ec60397db40901af5e6 /games/SecondLife/SecondLife.SlackBuild
parent3d610ffb6a850b54cbfcb6411ba05cd16edf35a5 (diff)
games/SecondLife: Updated for version 2.0.1.203797
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/SecondLife/SecondLife.SlackBuild')
-rw-r--r--games/SecondLife/SecondLife.SlackBuild15
1 files changed, 10 insertions, 5 deletions
diff --git a/games/SecondLife/SecondLife.SlackBuild b/games/SecondLife/SecondLife.SlackBuild
index ba2e1f7216adc..c0411164e05a1 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