diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-05-26 04:10:14 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-26 23:57:41 -0500 |
commit | e2f42de3fe8e53600c8b41ccadbb17d4fc55586b (patch) | |
tree | 246cd245ca1bb4222768b766260b03ef37098d80 /network/google-chrome/google-chrome.SlackBuild | |
parent | cb825fcdc6199ab1be1e8e9473c086eba3970e64 (diff) | |
download | slackbuilds-e2f42de3fe8e53600c8b41ccadbb17d4fc55586b.tar.gz |
network/google-chrome: Updated to stable release 5.0.375.55.
Updated download links and MD5SUMs for the stable release 5.0.
Removed plugin sed code as it is no-longer necessary.
Slight cleanup of README.
Diffstat (limited to 'network/google-chrome/google-chrome.SlackBuild')
-rw-r--r-- | network/google-chrome/google-chrome.SlackBuild | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/network/google-chrome/google-chrome.SlackBuild b/network/google-chrome/google-chrome.SlackBuild index 395d50d3c6..c9d14f75c3 100644 --- a/network/google-chrome/google-chrome.SlackBuild +++ b/network/google-chrome/google-chrome.SlackBuild @@ -1,5 +1,5 @@ #!/bin/sh - +# # Slackware build script for Google Chrome # Copyright 2009-2010 Erik Hanson, Minneapolis, MN, USA @@ -23,7 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=google-chrome -VERSION=5.0.375.38 # Ephemeral version +VERSION=5.0.375.55 # Ephemeral version +RELEASE=stable # stable, beta, or unstable ARCH=${ARCH:-i386} # i386 or x86_64 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -33,9 +34,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -# Enable (supposedly crashy) plugin support by default: -PLUGINS=${PLUGINS:-yes} - # Just in case: case "$ARCH" in i?86) DEBARCH="i386" ; LIBDIRSUFFIX="" ; ARCH=i386 ;; @@ -45,12 +43,12 @@ esac set -eu # Get the real version, thanks to Fred Richards. -REAL_VER=$(ar p google-chrome-beta_current_${DEBARCH}.deb control.tar.gz | tar zxO ./control | grep Version | awk '{print $2}' | cut -d- -f1) +REAL_VER=$(ar p google-chrome-${RELEASE}_current_${DEBARCH}.deb control.tar.gz | tar zxO ./control | grep Version | awk '{print $2}' | cut -d- -f1) rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $PKG -ar p $CWD/google-chrome-beta_current_${DEBARCH}.deb data.tar.lzma | lzma -d | tar xv +ar p $CWD/google-chrome-${RELEASE}_current_${DEBARCH}.deb data.tar.lzma | lzma -d | tar xv chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -64,10 +62,6 @@ for MLIB in $MISSING_LIBS ; do ln -s /usr/lib${LIBDIRSUFFIX}/seamonkey/${MLIB%.?d} opt/google/chrome/$MLIB done -if [ "$PLUGINS" == "yes" ] ; then - sed -i 's/%U/--enable-plugins %U/' opt/google/chrome/google-chrome.desktop -fi - mv $PKG/usr/share/man $PKG/usr/man gzip -9 $PKG/usr/man/man?/*.? |