diff options
-rw-r--r-- | graphics/picasa/picasa.SlackBuild | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/graphics/picasa/picasa.SlackBuild b/graphics/picasa/picasa.SlackBuild index 6d096a41fc..830e2561d3 100644 --- a/graphics/picasa/picasa.SlackBuild +++ b/graphics/picasa/picasa.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script of picasa (binary repackaging) -# Copyright 2006,2007,2008,2009,2010 Robby Workman, Northport, Alabama, USA +# Copyright 2006-2011 Robby Workman, Northport, Alabama, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,15 +27,12 @@ VERSION=${VERSION:-3.0.5744} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i386 ;; - arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: - *) ARCH=$( uname -m ) ;; - esac -fi +case "$( uname -m )" in + i?86) ARCH=i386 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; +esac + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -45,7 +42,6 @@ if [ "$ARCH" = "x86_64" ]; then SRCARCH=amd64 LIBDIRSUFFIX="64" elif [ "$ARCH" = "i386" ]; then - ARCH=i386 SRCARCH=i386 LIBDIRSUFFIX="" else |