diff options
author | Niels Horn <niels.horn@gmail.com> | 2010-07-04 03:11:54 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-07-04 03:11:54 -0500 |
commit | 196599d6a5b8ec03f94245a7aca16c56ace03c98 (patch) | |
tree | 97c7cc8d871fd3059c61cf35d2b68e4b4aaa4947 /development/pycscope/pycscope.SlackBuild | |
parent | 3e5d527e3a3fb0c34b3dc811f3a99b473a3520a5 (diff) | |
download | slackbuilds-196599d6a5b8ec03f94245a7aca16c56ace03c98.tar.gz |
development/pycscope: Fixed ARCH setting (this is not noarch)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/pycscope/pycscope.SlackBuild')
-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 |