From accb011f8f524358b4853f33eb3b75a8eb6e3876 Mon Sep 17 00:00:00 2001 From: Niels Horn Date: Sun, 4 Jul 2010 02:54:01 -0500 Subject: development/Pygments: Fixed ARCH setting - this is not noarch Signed-off-by: Robby Workman --- development/Pygments/Pygments.SlackBuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'development') 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 -- cgit v1.2.3