development/pycscope: Fixed ARCH setting (this is not noarch)

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Niels Horn 2010-07-04 03:11:54 -05:00 committed by Robby Workman
parent 3e5d527e3a
commit 196599d6a5

View file

@ -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