void-packages/srcpkgs/google-chrome/update

6 lines
336 B
Plaintext

# Call Google's version history API to get stable linux desktop releases
# that are still being served (endtime=none). Look for the 'version' in
# the JSON response.
site="https://versionhistory.googleapis.com/v1/chrome/platforms/linux/channels/stable/versions/all/releases?filter=endtime=none"
pattern="\"version\": *\"\K[\d.]+(?=\")"