aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/pycscope/pycscope.SlackBuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/development/pycscope/pycscope.SlackBuild b/development/pycscope/pycscope.SlackBuild
index b08b79b2dd2e8..f4efe351789df 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