diff options
author | Niels Horn <niels.horn@gmail.com> | 2010-07-04 02:56:36 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-07-04 02:56:36 -0500 |
commit | 4c74756b583711a6dc3782c957589d14ef450401 (patch) | |
tree | 297eb4f322ecab1e76f9077d84aec50b2518f0a4 | |
parent | e76ce267fd3102e1ea618a62f0ae918ea4b43c74 (diff) |
development/epydoc: Fixed ARCH setting - this is not noarch
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | development/epydoc/epydoc.SlackBuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/development/epydoc/epydoc.SlackBuild b/development/epydoc/epydoc.SlackBuild index 5f1e448c7439..34bf1ac49e64 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 |