summaryrefslogtreecommitdiffstats
path: root/system/tilda/tilda.SlackBuild
diff options
context:
space:
mode:
author dsomero <xgizzmo@slackbuilds.org>2011-05-01 10:32:46 -0400
committer Robby Workman <rworkman@slackbuilds.org>2011-05-03 09:08:24 -0500
commitf7bea05e3606c709b4a47d9fab8f5bc1a8f0fde9 (patch)
treec5758f3840e2820776f16f300eec695e56a71c9b /system/tilda/tilda.SlackBuild
parent37e1e35bd2b064b552c1af8eea336b6a13910a81 (diff)
downloadslackbuilds-f7bea05e3606c709b4a47d9fab8f5bc1a8f0fde9.tar.gz
slackbuilds-f7bea05e3606c709b4a47d9fab8f5bc1a8f0fde9.tar.xz
system/tilda: ARCH fixes and cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/tilda/tilda.SlackBuild')
-rw-r--r--system/tilda/tilda.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/system/tilda/tilda.SlackBuild b/system/tilda/tilda.SlackBuild
index 43a8660e06..972156ace8 100644
--- a/system/tilda/tilda.SlackBuild
+++ b/system/tilda/tilda.SlackBuild
@@ -24,10 +24,17 @@
PRGNAM=tilda
VERSION=0.9.6
-ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
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