From 196599d6a5b8ec03f94245a7aca16c56ace03c98 Mon Sep 17 00:00:00 2001 From: Niels Horn Date: Sun, 4 Jul 2010 03:11:54 -0500 Subject: [PATCH] development/pycscope: Fixed ARCH setting (this is not noarch) Signed-off-by: Robby Workman --- development/pycscope/pycscope.SlackBuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/development/pycscope/pycscope.SlackBuild b/development/pycscope/pycscope.SlackBuild index b08b79b2dd..f4efe35178 100644 --- a/development/pycscope/pycscope.SlackBuild +++ b/development/pycscope/pycscope.SlackBuild @@ -6,10 +6,17 @@ PRGNAM=pycscope VERSION=${VERSION:-0.3} -ARCH=${ARCH:-noarch} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} 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