           SPELL=google-chrome-bin

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" || "${SMGL_COMPAT_ARCHS[1]}" == "em64t" ]]
then
          SOURCE=${SPELL/-bin/}-${VERSION/-*}_x86_64.rpm
else
          SOURCE=${SPELL/-bin/}-${VERSION/-*}_i386.rpm
fi
FORCE_DOWNLOAD[1]=on
   SOURCE_IGNORE=unversioned
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
   SOURCE_URL[0]=https://dl.google.com/linux/direct/$SOURCE
      LICENSE[0]=http://www.google.com/chrome/eula.html
        WEB_SITE=http://chrome.google.com/
        KEYWORDS="web http"
         ENTERED=20100105
           SHORT='Google web browser'
cat << EOF
Google Chrome is a web browser that runs web pages and applications with
lightning speed.
EOF
