1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-11-23 14:51:06 +01:00
void-packages/srcpkgs/google-chrome/template

34 lines
1.1 KiB
Bash

# Template file for 'google-chrome'
# Official template from https://github.com/void-linux/void-packages/blob/master/srcpkgs/google-chrome/template
pkgname=google-chrome
version=129.0.6668.89
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"
checksum=eec893b085b6f71e1767e66eb7d6f9045493b5ce6dba1c6eb319e424fa2e1b5c
skiprdeps="/opt/google/chrome/libqt5_shim.so /opt/google/chrome/libqt6_shim.so"
restricted=yes
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
}