From f7bea05e3606c709b4a47d9fab8f5bc1a8f0fde9 Mon Sep 17 00:00:00 2001 From: dsomero Date: Sun, 1 May 2011 10:32:46 -0400 Subject: system/tilda: ARCH fixes and cleanup. Signed-off-by: dsomero --- system/tilda/tilda.SlackBuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'system/tilda/tilda.SlackBuild') 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 -- cgit v1.2.3