summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2010-07-04 02:56:36 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-07-04 02:56:36 -0500
commit4c74756b583711a6dc3782c957589d14ef450401 (patch)
tree297eb4f322ecab1e76f9077d84aec50b2518f0a4 /development
parente76ce267fd3102e1ea618a62f0ae918ea4b43c74 (diff)
downloadslackbuilds-4c74756b583711a6dc3782c957589d14ef450401.tar.gz
development/epydoc: Fixed ARCH setting - this is not noarch
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/epydoc/epydoc.SlackBuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/development/epydoc/epydoc.SlackBuild b/development/epydoc/epydoc.SlackBuild
index 5f1e448c74..34bf1ac49e 100644
--- a/development/epydoc/epydoc.SlackBuild
+++ b/development/epydoc/epydoc.SlackBuild
@@ -23,10 +23,17 @@
PRGNAM=epydoc
VERSION=3.0.1
-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