diff options
author | Niels Horn <niels.horn@gmail.com> | 2010-07-04 02:54:01 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-07-04 02:54:01 -0500 |
commit | accb011f8f524358b4853f33eb3b75a8eb6e3876 (patch) | |
tree | 7fa5d3ab360fa9461a9f5e1adab5f4d5f2f198e0 /development/Pygments | |
parent | 96a96851c3b93fd80c0af8b03be86c9c59109711 (diff) |
development/Pygments: Fixed ARCH setting - this is not noarch
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 d1ff97438f68..bb436c48264f 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 |