Merge pull request #4237 from the-maldridge/google-chrome

new package: google-chrome-bin-51.0.2704.63
This commit is contained in:
Toyam Cox 2016-06-10 16:26:45 -04:00 committed by GitHub
commit 519699a93e
1 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,34 @@
# Template file for 'google-chrome'
_chromeVersion=51.0.2704.63
_chromeRevision=1
_channel=stable
pkgname=google-chrome-bin
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}"
checksum=1cffc224a943cf8d5dc8d0252f96ec70997cd4c986fcfea70a1b4d255cef56ce
do_extract() {
mkdir -p ${DESTDIR}
ar x ${XBPS_SRCDISTDIR}/google-chrome-bin-${version}/${_filename}
}
do_install() {
tar xf data.tar.xz -C ${DESTDIR}
}