diff options
-rw-r--r-- | development/pycscope/pycscope.SlackBuild | 11 |
1 files 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 |