From b65d19e76c860eda59bcfc1c450aedc6b7c1613a Mon Sep 17 00:00:00 2001 From: Eric Sandall Date: Wed, 6 Jan 2010 21:16:33 -0800 Subject: google-chrome-bin: Query for daily updates --- bin-http/google-chrome-bin/DETAILS | 9 +++++++-- bin-http/google-chrome-bin/HISTORY | 2 ++ bin-http/google-chrome-bin/PREPARE | 3 +++ 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100755 bin-http/google-chrome-bin/PREPARE diff --git a/bin-http/google-chrome-bin/DETAILS b/bin-http/google-chrome-bin/DETAILS index 4c536e0..928bf86 100755 --- a/bin-http/google-chrome-bin/DETAILS +++ b/bin-http/google-chrome-bin/DETAILS @@ -1,10 +1,15 @@ SPELL=google-chrome-bin +if [[ "$GOOGLE_CHROME_BIN_DAILY" == "y" ]] +then + VERSION=$(date +%Y%m%d) +else VERSION=beta_current +fi if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" ]] then - SOURCE=${SPELL/-bin/}-${VERSION}_x86_64.rpm + SOURCE=${SPELL/-bin/}-beta_current_x86_64.rpm else - SOURCE=${SPELL/-bin/}-${VERSION}_i386.rpm + SOURCE=${SPELL/-bin/}-beta_current_i386.rpm fi SOURCE_IGNORE=unversioned SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION diff --git a/bin-http/google-chrome-bin/HISTORY b/bin-http/google-chrome-bin/HISTORY index eb0f2fe..eac0067 100644 --- a/bin-http/google-chrome-bin/HISTORY +++ b/bin-http/google-chrome-bin/HISTORY @@ -1,7 +1,9 @@ 2010-01-06 Eric Sandall + * PREPARE: Query for daily updates * DETAILS: Apparently these RPMs change daily, switching to unversioned SOURCE_IGNORE and setting VERSION to "beta_current" Fix typos in x86_64 and x86 SOURCE + Set version to daily or "beta_current" 2010-01-05 Eric Sandall * DETAILS, DEPENDS, PRE_BUILD, BUILD, INSTALL: Created diff --git a/bin-http/google-chrome-bin/PREPARE b/bin-http/google-chrome-bin/PREPARE new file mode 100755 index 0000000..3065b3c --- /dev/null +++ b/bin-http/google-chrome-bin/PREPARE @@ -0,0 +1,3 @@ +config_query GOOGLE_CHROME_BIN_DAILY \ + "Automatically update on every system update?" n + -- cgit v1.2.3