summaryrefslogtreecommitdiff
path: root/network/google-chrome/google-chrome.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-09-14 20:54:59 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-09-14 20:54:59 -0500
commit921f1092f3cda4717cf002a95af505c72ade3313 (patch)
tree5729ec072c6c892bac1cb748b430ae570d0aafb3 /network/google-chrome/google-chrome.SlackBuild
parent1fa150086ee0f004267ec63aa64fe28151d8818d (diff)
downloadslackbuilds-921f1092f3cda4717cf002a95af505c72ade3313.tar.gz
network/google-chrome: Updated for version 6.0.472.55.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/google-chrome/google-chrome.SlackBuild')
-rw-r--r--network/google-chrome/google-chrome.SlackBuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/network/google-chrome/google-chrome.SlackBuild b/network/google-chrome/google-chrome.SlackBuild
index 817c3ce6c8..691126d8b4 100644
--- a/network/google-chrome/google-chrome.SlackBuild
+++ b/network/google-chrome/google-chrome.SlackBuild
@@ -23,24 +23,22 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=google-chrome
-VERSION=6.0.472.53 # Ephemeral version
+VERSION=6.0.472.55 # Ephemeral version
RELEASE=stable # stable, beta, or unstable
-ARCH=${ARCH:-i386} # i386 or x86_64
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+case "$( uname -m )" in
+ i?86) DEBARCH="i386" ; LIBDIRSUFFIX="" ; ARCH=i386 ;;
+ x86_64) DEBARCH="amd64" ; LIBDIRSUFFIX="64" ;;
+ *) echo "Package for $( uname -m) architecture is not available." ; exit 1 ;;
+esac
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# Just in case:
-case "$ARCH" in
- i?86) DEBARCH="i386" ; LIBDIRSUFFIX="" ; ARCH=i386 ;;
- x86_64) DEBARCH="amd64" ; LIBDIRSUFFIX="64" ;;
- *) echo "Not supported" ; exit 1 ;;
-esac
-
set -eu
# Get the real version, thanks to Fred Richards.