From 4c74756b583711a6dc3782c957589d14ef450401 Mon Sep 17 00:00:00 2001 From: Niels Horn Date: Sun, 4 Jul 2010 02:56:36 -0500 Subject: [PATCH] development/epydoc: Fixed ARCH setting - this is not noarch Signed-off-by: Robby Workman --- development/epydoc/epydoc.SlackBuild | 11 +++++++++-- 1 file 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