diff options
Diffstat (limited to 'development/epydoc')
-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 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 |