From a0bcc9c4468c16a441fd951e7407f4b0153eeed1 Mon Sep 17 00:00:00 2001 From: Ladislav Hagara Date: Mon, 21 Jun 2010 02:57:56 +0200 Subject: google-chrome-bin: added support for stable, beta and unstable version 5.0.375.70 / 5.0.375.70 beta / 6.0.437.3 dev --- bin-http/google-chrome-bin/DETAILS | 22 +++++++++++++++++----- bin-http/google-chrome-bin/HISTORY | 4 ++++ bin-http/google-chrome-bin/PREPARE | 3 ++- 3 files changed, 23 insertions(+), 6 deletions(-) diff --git a/bin-http/google-chrome-bin/DETAILS b/bin-http/google-chrome-bin/DETAILS index 7a54ea3..a591274 100755 --- a/bin-http/google-chrome-bin/DETAILS +++ b/bin-http/google-chrome-bin/DETAILS @@ -1,15 +1,27 @@ SPELL=google-chrome-bin -if [[ "$GOOGLE_CHROME_BIN_DAILY" == "y" ]] -then - VERSION=$(date +%Y%m%d) + +if [[ $GOOGLE_CHROME_BIN_VERSION == unstable ]]; then + VERSION=unstable_current else + + if [[ $GOOGLE_CHROME_BIN_VERSION == beta ]]; then + VERSION=beta_current + else VERSION=stable_current + fi + +fi && + +if [[ "$GOOGLE_CHROME_BIN_DAILY" == "y" ]] +then + VERSION=$VERSION-$(date +%Y%m%d) fi + if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" ]] then - SOURCE=${SPELL/-bin/}-${VERSION}_x86_64.rpm + SOURCE=${SPELL/-bin/}-${VERSION/-*}_x86_64.rpm else - SOURCE=${SPELL/-bin/}-${VERSION}_i386.rpm + SOURCE=${SPELL/-bin/}-${VERSION/-*}_i386.rpm fi SOURCE2=jpegsrc.v6b.tar.gz SOURCE_IGNORE=unversioned diff --git a/bin-http/google-chrome-bin/HISTORY b/bin-http/google-chrome-bin/HISTORY index 07554e0..0c85639 100644 --- a/bin-http/google-chrome-bin/HISTORY +++ b/bin-http/google-chrome-bin/HISTORY @@ -1,3 +1,7 @@ +2010-06-21 Ladislav Hagara + * DETAILS, PREPARE: added support for stable, beta and unstable version + 5.0.375.70 / 5.0.375.70 beta / 6.0.437.3 dev + 2010-05-26 Ladislav Hagara * DETAILS: beta_current -> stable_current diff --git a/bin-http/google-chrome-bin/PREPARE b/bin-http/google-chrome-bin/PREPARE index 3065b3c..62fe5c9 100755 --- a/bin-http/google-chrome-bin/PREPARE +++ b/bin-http/google-chrome-bin/PREPARE @@ -1,3 +1,4 @@ +config_query_list GOOGLE_CHROME_BIN_VERSION 'Which version?' stable beta unstable && + config_query GOOGLE_CHROME_BIN_DAILY \ "Automatically update on every system update?" n - -- cgit v1.2.3