diff options
Diffstat (limited to 'network/google-chrome/google-chrome.SlackBuild')
-rw-r--r-- | network/google-chrome/google-chrome.SlackBuild | 16 |
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. |