aboutsummaryrefslogtreecommitdiff
path: root/misc/keychain/keychain.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2016-08-13 20:26:13 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-20 07:51:32 +0700
commit704b6668feaf5e8be6b7982c05344c36c51b471a (patch)
treeaf9dc8bb12e38b48aa51d237fc87bcb49e84a8f9 /misc/keychain/keychain.SlackBuild
parent606ce1e36f48feacc1b8e26d7096a6eb754499c4 (diff)
misc/keychain: Updated for version 2.8.3
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
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 00df0c51617f8..b5152a33199b1 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