diff options
Diffstat (limited to 'development/komodo-edit')
-rw-r--r-- | development/komodo-edit/komodo-edit.SlackBuild | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/development/komodo-edit/komodo-edit.SlackBuild b/development/komodo-edit/komodo-edit.SlackBuild index e54b2a1eb7..b6e058df57 100644 --- a/development/komodo-edit/komodo-edit.SlackBuild +++ b/development/komodo-edit/komodo-edit.SlackBuild @@ -33,14 +33,19 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ -z "$ARCH" ]; then - ARCH=$( uname -m ) - case "$ARCH" in - i?86) PKG_ARCH=x86 ;; - x86_64) PKG_ARCH=x86_64 ;; - *) echo "Architecture not supported"; exit 0; + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; esac fi +if [ "$ARCH" = "x86_64" ]; then + PKG_ARCH=x86_64 +else + PKG_ARCH=x86 +fi + set -e rm -rf $PKG |