2024-03-29 11:13:36 +01:00
|
|
|
# Template file for 'google-chrome'
|
|
|
|
# Official template from https://github.com/void-linux/void-packages/blob/master/srcpkgs/google-chrome/template
|
|
|
|
pkgname=google-chrome
|
2024-12-14 17:25:29 +01:00
|
|
|
version=131.0.6778.69
|
2024-03-29 11:13:36 +01:00
|
|
|
revision=1
|
|
|
|
_channel=stable
|
|
|
|
archs="x86_64"
|
|
|
|
hostmakedepends="python3-html2text python3-setuptools"
|
|
|
|
depends="gtk+3"
|
|
|
|
short_desc="Attempt at creating a safer, faster, and more stable browser"
|
|
|
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
|
|
|
license="custom:chrome"
|
|
|
|
homepage="https://www.google.com/chrome/"
|
|
|
|
distfiles="https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-${_channel}_${version}-1_amd64.deb"
|
2024-12-14 17:25:29 +01:00
|
|
|
checksum=eda13a459139901dc36891540dd7364deafc4ac6593342736262a7d61175054b
|
2024-03-29 11:13:36 +01:00
|
|
|
|
|
|
|
skiprdeps="/opt/google/chrome/libqt5_shim.so /opt/google/chrome/libqt6_shim.so"
|
2024-04-04 17:15:44 +02:00
|
|
|
restricted=yes
|
2024-03-29 11:13:36 +01:00
|
|
|
nostrip=yes
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vcopy etc /
|
|
|
|
vcopy opt /
|
|
|
|
vcopy usr /
|
|
|
|
|
|
|
|
# Remove unused icons
|
|
|
|
rm ${DESTDIR}/opt/google/chrome/*.xpm
|
|
|
|
|
|
|
|
# Remove the Debian/Ubuntu crontab
|
|
|
|
rm -rf ${DESTDIR}/etc
|
|
|
|
rm -rf ${DESTDIR}/opt/google/chrome/cron
|
|
|
|
|
|
|
|
vlicense "${FILESDIR}"/google-chrome-eula.md
|
|
|
|
}
|