summaryrefslogtreecommitdiff
path: root/misc/keychain/keychain.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/keychain/keychain.SlackBuild')
-rw-r--r--misc/keychain/keychain.SlackBuild14
1 files changed, 11 insertions, 3 deletions
diff --git a/misc/keychain/keychain.SlackBuild b/misc/keychain/keychain.SlackBuild
index 00df0c5161..b5152a3319 100644
--- a/misc/keychain/keychain.SlackBuild
+++ b/misc/keychain/keychain.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for keychain
# Copyright 2010 Grigorios Bouzakis <grbzks@xsmail.com>
-# Copyright 2014-2015 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2014-2016 Larry Hajali <larryhaja[at]gmail[dot]com>
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for any purpose
@@ -21,10 +21,18 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=keychain
-VERSION=${VERSION:-2.8.2}
+VERSION=${VERSION:-2.8.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-ARCH=noarch
+
+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