diff options
Diffstat (limited to 'development/Pygments')
-rw-r--r-- | development/Pygments/Pygments.SlackBuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/development/Pygments/Pygments.SlackBuild b/development/Pygments/Pygments.SlackBuild index d1ff97438f..bb436c4826 100644 --- a/development/Pygments/Pygments.SlackBuild +++ b/development/Pygments/Pygments.SlackBuild @@ -7,10 +7,17 @@ PRGNAM=Pygments VERSION=${VERSION:-1.3.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 |