diff options
author | Antonio Leal <antonioleal@yahoo.com> | 2022-12-08 21:19:25 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-12-08 21:19:25 +0700 |
commit | d14b89d555fd4b389c0affe3b2399c6d9bc550b8 (patch) | |
tree | 326c4ea5e79fde2ad4f10cec23f0f337aaea5efb | |
parent | 60c52ea60158178a7f46a52002059d9a083b2718 (diff) |
system/google-chrome-the-latest: Updated for version 2.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
4 files changed, 37 insertions, 17 deletions
diff --git a/system/google-chrome-the-latest/README b/system/google-chrome-the-latest/README index 4c78aa1d5e38e..89b91b21c6dbd 100644 --- a/system/google-chrome-the-latest/README +++ b/system/google-chrome-the-latest/README @@ -1,7 +1,8 @@ -Maintaining an updated chrome browser on Slackware is now made -easier with this small program, "google-chrome-the-latest". +Installing *and* Maintaining an updated chrome browser on Slackware +is now made easier with this small program, "google-chrome-the-latest". It is a simple python script that checks what is the latest -version available and updates it on your Slackware box. +version available and updates it on your Slackware box directly +from Google. It does this by parsing the web-page at https://www.whatismybrowser.com/guides/the-latest-version/chrome @@ -15,8 +16,22 @@ provided cron.hourly script. This cron script will attempt to identify which user to notify, otherwise you can force the variable to USERNAME=’your username’ -Normally it is asked if you want to install new version, but +In order to avoid excessive hits on whatismybrowser.com actual +checks are limited to "once a day", but you can bypass this with the +arguments "install" or "upgrade". These allow the user to force a +download from Google and perforam an install or an upgrade, +if one is required. +Normally it is asked if you want to install the new version, but providing the argument "silent" will just update with no human intervention. +Examples: +If you don't have yet Chrome installed you can do so by +simply by running: +/opt/google-chrome-the-latest/google-chrome-the-latest.py install + +At any time you can force a download from Google site and upgrade +without any pop-up window with: +/opt/google-chrome-the-latest/google-chrome-the-latest.py silent upgrade + This package installs to /opt/google-chrome-the-latest diff --git a/system/google-chrome-the-latest/google-chrome-the-latest.SlackBuild b/system/google-chrome-the-latest/google-chrome-the-latest.SlackBuild index 83de6f08bcdb6..dfa9e72314b4a 100644 --- a/system/google-chrome-the-latest/google-chrome-the-latest.SlackBuild +++ b/system/google-chrome-the-latest/google-chrome-the-latest.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Slackware build script for timeshift +# Slackware build script for google-chrome-the-latest # Copyright 2022 Antonio Leal, Porto Salvo, Oeiras, Portugal # All rights reserved. @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=google-chrome-the-latest -VERSION=${VERSION:-1.0.0} +VERSION=${VERSION:-2.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,10 +76,15 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -rm -rf $PKG/opt/google-chrome-the-latest -mkdir -p $PKG/opt/google-chrome-the-latest -cp google-chrome-the-latest.py $PKG/opt/google-chrome-the-latest -chmod +x $PKG/opt/google-chrome-the-latest/google-chrome-the-latest.py +PKGOPT=$PKG/opt/google-chrome-the-latest +rm -rf $PKGOPT +mkdir -p $PKGOPT +cp google-chrome-the-latest.py $PKGOPT +chmod +x $PKGOPT/google-chrome-the-latest.py +cp permission-dialog.glade $PKGOPT +cp end-dialog.glade $PKGOPT +cp google-chrome-the-latest.png $PKGOPT +cp whatismybrowser-logo.png $PKGOPT rm -rf $PKG/etc/cron.hourly mkdir -p $PKG/etc/cron.hourly diff --git a/system/google-chrome-the-latest/google-chrome-the-latest.info b/system/google-chrome-the-latest/google-chrome-the-latest.info index f7ea2628b9c46..16e8a1b7e7dac 100644 --- a/system/google-chrome-the-latest/google-chrome-the-latest.info +++ b/system/google-chrome-the-latest/google-chrome-the-latest.info @@ -1,8 +1,8 @@ PRGNAM="google-chrome-the-latest" -VERSION="1.0.0" +VERSION="2.0.0" HOMEPAGE="https://github.com/antonioleal/google-chrome-the-latest" -DOWNLOAD="https://github.com/antonioleal/google-chrome-the-latest/archive/1.0.0/google-chrome-the-latest-1.0.0.tar.gz" -MD5SUM="a60242d58a09363c85ee3e7b62e01ca1" +DOWNLOAD="https://github.com/antonioleal/google-chrome-the-latest/archive/2.0.0/google-chrome-the-latest-2.0.0.tar.gz" +MD5SUM="80d21ebb42e409dcbebb005725cd4bc8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/system/google-chrome-the-latest/slack-desc b/system/google-chrome-the-latest/slack-desc index cca71578e52b5..24124e9e1f9ed 100644 --- a/system/google-chrome-the-latest/slack-desc +++ b/system/google-chrome-the-latest/slack-desc @@ -8,10 +8,10 @@ |-----handy-ruler------------------------------------------------------| google-chrome-the-latest: google-chrome-the-latest (Google Chrome Updater Script) google-chrome-the-latest: -google-chrome-the-latest: Maintaining an updated chrome browser on Slackware is now made -google-chrome-the-latest: easier with this small program, "google-chrome-the-latest". -google-chrome-the-latest: It is a simple python script that checks what is the latest -google-chrome-the-latest: version available and updates it on your Slackware box. +google-chrome-the-latest: Maintaining an updated Chrome Browser on Slackware is now made +google-chrome-the-latest: easier with this small program, "google-chrome-the-latest", a simple +google-chrome-the-latest: python script that will install and keep checking afterwards what is +google-chrome-the-latest: the latest version available so your Slackware box is kept safer. google-chrome-the-latest: google-chrome-the-latest: google-chrome-the-latest: |