2016-05-27 05:27:27 +02:00
|
|
|
# Template file for 'google-chrome'
|
2016-06-29 02:18:44 +02:00
|
|
|
_chromeVersion=51.0.2704.106
|
2016-05-27 05:27:27 +02:00
|
|
|
_chromeRevision=1
|
|
|
|
_channel=stable
|
|
|
|
|
2016-06-11 01:39:50 +02:00
|
|
|
pkgname=google-chrome
|
2016-05-27 05:27:27 +02:00
|
|
|
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
|
2016-05-27 05:27:27 +02:00
|
|
|
|
|
|
|
|
|
|
|
do_extract() {
|
|
|
|
mkdir -p ${DESTDIR}
|
2016-06-11 01:39:50 +02:00
|
|
|
ar x ${XBPS_SRCDISTDIR}/google-chrome-${version}/${_filename}
|
2016-05-27 05:27:27 +02:00
|
|
|
}
|
|
|
|
do_install() {
|
|
|
|
tar xf data.tar.xz -C ${DESTDIR}
|
|
|
|
}
|