mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 14:17:02 +02:00
google-chrome: update to 80.0.3987.87
This commit is contained in:
parent
425e56fd2a
commit
aa76c52dd7
1 changed files with 10 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
# Template file for 'google-chrome'
|
||||
_chromeVersion=79.0.3945.130
|
||||
_chromeVersion=80.0.3987.87
|
||||
_chromeRevision=1
|
||||
_channel=stable
|
||||
|
||||
|
@ -8,10 +8,10 @@ version="${_chromeVersion}.${_chromeRevision}"
|
|||
revision=1
|
||||
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
||||
homepage="https://www.google.com/chrome/"
|
||||
license="chrome"
|
||||
license="custom:chrome"
|
||||
short_desc="Attempt at creating a safer, faster, and more stable browser"
|
||||
archs="x86_64"
|
||||
hostmakedepends="tar xz"
|
||||
hostmakedepends="curl tar xz python3 python3-html2text python3-setuptools"
|
||||
repository=nonfree
|
||||
restricted=yes
|
||||
nostrip=yes
|
||||
|
@ -19,9 +19,10 @@ nostrip=yes
|
|||
_baseUrl="https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable"
|
||||
_filename="google-chrome-${_channel}_${_chromeVersion}-${_chromeRevision}_amd64.deb"
|
||||
_chromeUrl="${_baseUrl}/${_filename}"
|
||||
_licenseUrl="https://www.google.com/intl/en/chrome/privacy/eula_text.html"
|
||||
|
||||
distfiles="$_chromeUrl"
|
||||
checksum=613e4fb84fbc064b4ebbd4832060940bf0f947c05ec808015afbd1618976a094
|
||||
checksum=85e07dee624d3c7eec6a6194efcb070b353ee52c0e5980517760230128a3ba61
|
||||
|
||||
do_extract() {
|
||||
mkdir -p ${DESTDIR}
|
||||
|
@ -48,3 +49,8 @@ do_install() {
|
|||
rm -rf ${DESTDIR}/etc
|
||||
rm -rf ${DESTDIR}/opt/google/chrome/cron
|
||||
}
|
||||
|
||||
post_install() {
|
||||
curl ${_licenseUrl} | html2text >> google-chrome-eula.md
|
||||
vlicense google-chrome-eula.md
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue