diff options
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 |
commit | f7bea05e3606c709b4a47d9fab8f5bc1a8f0fde9 (patch) | |
tree | c5758f3840e2820776f16f300eec695e56a71c9b /system/tilda | |
parent | 37e1e35bd2b064b552c1af8eea336b6a13910a81 (diff) |
system/tilda: ARCH fixes and cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/tilda')
-rw-r--r-- | system/tilda/tilda.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/system/tilda/tilda.SlackBuild b/system/tilda/tilda.SlackBuild index 43a8660e066fd..972156ace8a4d 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 |