google-chrome: update to 106.0.5249.91
replace curl with xbps-fetch
This commit is contained in:
parent
4f1daf96be
commit
a33a6b1c8d
1 changed files with 5 additions and 4 deletions
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'google-chrome'
|
# Template file for 'google-chrome'
|
||||||
pkgname=google-chrome
|
pkgname=google-chrome
|
||||||
version=105.0.5195.125
|
version=106.0.5249.91
|
||||||
revision=1
|
revision=1
|
||||||
_channel=stable
|
_channel=stable
|
||||||
archs="x86_64"
|
archs="x86_64"
|
||||||
hostmakedepends="curl tar xz python3 python3-html2text python3-setuptools"
|
hostmakedepends="tar xz python3 python3-html2text python3-setuptools"
|
||||||
depends="gtk+3"
|
depends="gtk+3"
|
||||||
short_desc="Attempt at creating a safer, faster, and more stable browser"
|
short_desc="Attempt at creating a safer, faster, and more stable browser"
|
||||||
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
||||||
|
@ -20,7 +20,7 @@ _chromeUrl="${_baseUrl}/${_filename}"
|
||||||
_licenseUrl="https://www.google.com/intl/en/chrome/terms/"
|
_licenseUrl="https://www.google.com/intl/en/chrome/terms/"
|
||||||
|
|
||||||
distfiles="$_chromeUrl"
|
distfiles="$_chromeUrl"
|
||||||
checksum=1b167d54b289343f7e6db078d0b26505a54828e0663d033dd1307e8bca917692
|
checksum=bec828c1454151be5686fbe4427a3ceb4c581ea38b7476024961b874b2d2d0b1
|
||||||
|
|
||||||
do_extract() {
|
do_extract() {
|
||||||
mkdir -p ${DESTDIR}
|
mkdir -p ${DESTDIR}
|
||||||
|
@ -49,6 +49,7 @@ do_install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
curl ${_licenseUrl} | html2text >> google-chrome-eula.md
|
xbps-fetch ${_licenseUrl} -o google-chrome-eula.html
|
||||||
|
cat google-chrome-eula.html | html2text >> google-chrome-eula.md
|
||||||
vlicense google-chrome-eula.md
|
vlicense google-chrome-eula.md
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue