void-packages/srcpkgs/google-chrome/template

33 lines
899 B
Bash
Raw Normal View History

# Template file for 'google-chrome'
2016-06-29 02:18:44 +02:00
_chromeVersion=51.0.2704.106
_chromeRevision=1
_channel=stable
pkgname=google-chrome
version=${_chromeVersion}.${_chromeRevision}
revision=1
maintainer="Michael Aldridge <aldridge.mac@gmail.com>"
homepage="http://www.google.com/chrome/"
license="chrome"
short_desc="An attempt at creating a safer, faster, and more stable browser"
only_for_archs="x86_64"
repository=nonfree
restricted=yes
nostrip=yes
_baseUrl="http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable"
_filename="google-chrome-${_channel}_${_chromeVersion}-${_chromeRevision}_amd64.deb"
_chromeUrl="${_baseUrl}/${_filename}"
distfiles="${_chromeUrl}"
2016-06-29 02:18:44 +02:00
checksum=af8f1243deed908140bb2f18a3c25f7dd658acef9a1246bb17d82e07dcad6f62
do_extract() {
mkdir -p ${DESTDIR}
ar x ${XBPS_SRCDISTDIR}/google-chrome-${version}/${_filename}
}
do_install() {
tar xf data.tar.xz -C ${DESTDIR}
}