I was wondering today if it might be possible to get at the version number and checksum information direct from the google repo, and by trial and error I have found today that it is possible to get at this information.
By typing the command as in the following you can see that the right information is extracted:
[mike@home1 chrome-test]$ curl -s https://dl.google.com/linux/chrome/rpm/stable/x86_64/repodata/primary.xml.gz |gzip -d| awk -F\" '/<name>google-chrome-stable<\/name><arch>/ { print $6 ; print $8 ; print $13}'
17.0.963.65
124586
>2d0a251fb70396a2943c85d58aa859e1392fd101</checksum><summary>Google Chrome</summary><description>The web browser from Google
So in principle the "ver" and "rel" numbers are easy to extract and in addition the sha1sum can be extracted from the last line as well - and this could allow a single aur PGGBUILD file to be written that would extract all the required information without having to download a new tarball each time google updates chrome (unless they changed the format of the "primary.xml.gz file that contains the data.
I wonder if a suitable PGKBUILD file could be constructed based on the above information? I am not that expert at awk commands and it might be quicker if someone really familiar with awk could do that? If so it would make for a really nice update to this AUR package, since the current file needs to be manually updated with the new version numbers and checksum every time google updates chrome? The checksum would need to be changed from md5 to sha1 but that is presumably not a huge change?
A very similar scheme would presumably also work for beta and dev versions? Either way it is easy enough to download the "primary.xm.gz" file to tinker with the rest of the necessary scripting.
I hope this might help?
Thanks
Search Criteria
Package Details: google-chrome 131.0.6778.85-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/google-chrome.git (read-only, click to copy) |
---|---|
Package Base: | google-chrome |
Description: | The popular web browser by Google (Stable Channel) |
Upstream URL: | https://www.google.com/chrome |
Keywords: | chromium |
Licenses: | custom:chrome |
Submitter: | None |
Maintainer: | gromit |
Last Packager: | gromit |
Votes: | 2247 |
Popularity: | 8.99 |
First Submitted: | 2010-05-25 20:25 (UTC) |
Last Updated: | 2024-11-19 19:19 (UTC) |
Dependencies (12)
- alsa-lib
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- libcups (libcups-gitAUR, cups-gitAUR, libcups-gssapiAUR)
- libxss
- libxtst
- nss (nss-hgAUR)
- ttf-liberation (ttf-defenestrationAUR)
- xdg-utils (busking-gitAUR, xdg-utils-slockAUR, mimiAUR, mimi-gitAUR, xdg-utils-handlrAUR, openerAUR, xdg-utils-mimeoAUR, mimejs-gitAUR)
- gnome-keyring (gnome-keyring-gitAUR) (optional) – for storing passwords in GNOME keyring
- kdialog (kdialog-gitAUR) (optional) – for file dialogs in KDE
- kwallet (kwallet-gitAUR) (optional) – for storing passwords in KWallet
- pipewire (pipewire-gitAUR, pipewire-full-gitAUR) (optional) – WebRTC desktop sharing under Wayland
Required by (40)
- bitwarden-chromium (optional)
- captive-browser-git (optional)
- chrome-extension-bitwarden-git (optional)
- chrome-extension-ocrs-git
- chromedriver (optional)
- chromium-extension-adnauseam (optional)
- chromium-extension-autoscroll (optional)
- chromium-extension-plasma-integration (optional)
- chromium-extension-runet-censorship-bypass (optional)
- chromium-material-icons-for-github-bin (optional)
- chromium-vencord (optional)
- chromium-vencord-bin (optional)
- chromium-vencord-git (optional)
- dedao-dl-bin (optional)
- endpoint-verification-chrome
- endpoint-verification-minimal
- ff2mpv-go-git (optional)
- ff2mpv-rust (optional)
- hub-kids (optional)
- hub-young (optional)
- Show 20 more...
Sources (3)
Latest Comments
« First ‹ Previous 1 .. 143 144 145 146 147 148 149 150 151 152 153 .. 157 Next › Last »
mike.cloaked commented on 2012-03-05 18:26 (UTC)
<deleted-account> commented on 2012-03-05 14:20 (UTC)
fixed PKGBUILD (new version): http://pastebin.com/4jymgTbY
dejavu commented on 2012-02-24 19:27 (UTC)
Ok, thanks for the answers.
First I meant "chrome://plugins" ;-)
I was interested in the built-in flash of chrome because of the advertised future of flash in linux.
I am using 64 bit and so therefore it's not included.
Thanks anyway ...
t3ddy commented on 2012-02-24 07:49 (UTC)
Chrome's flash plugin is available only for 32 bit's package.
You've got to install flashplugin if you're on 64 bit.
<deleted-account> commented on 2012-02-24 07:18 (UTC)
@t3ddy I not have flash installed and not have the plugin
why the plugin native from g-chrome not is installed??
t3ddy commented on 2012-02-23 20:04 (UTC)
Do you mean in "about:plugins"?
I've got it.
Are you on 32 or 64 bit?
dejavu commented on 2012-02-23 19:46 (UTC)
Thanks for the package!
But I can't see the flashplugin in "about:chrome" included.
mike.cloaked commented on 2012-02-16 14:13 (UTC)
That was quick - and thanks for updating.
mike.cloaked commented on 2012-02-16 11:08 (UTC)
Any chance this package will be updated to version 17.0.963.56-121963 which was released in the last day or so? Thanks.
Det commented on 2012-02-05 22:33 (UTC)
Of course it doesn't. That's repackaging not building.
Pinned Comments
gromit commented on 2023-04-15 08:22 (UTC) (edited on 2023-05-08 21:42 (UTC) by gromit)
When reporting this package as outdated make sure there is indeed a new version for Linux Desktop. You can have a look at the "Stable updates" tag in Release blog for this.
You can also run this command to obtain the version string for the latest chrome version:
Do not report updates for ChromeOS, Android or other platforms stable versions as updates here.