2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Linux için geliştirici önizleme kanalı olan Google Chrome Tarayıcısı
|
2017-03-24 12:30:25 +01:00
|
|
|
|
# URL: http://dev.chromium.org/getting-involved/dev-channel
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: nss gconf libjpeg-turbo freetype cairo libxslt libpng alsa-lib hicolor-icon-theme xdg-utils
|
2017-01-31 01:37:09 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=google-chrome
|
|
|
|
|
surum=48.0.2564.103
|
|
|
|
|
devir=1
|
2016-02-24 01:27:23 +01:00
|
|
|
|
[ "`uname -m`" == "i686" ] && _arch="i386"
|
|
|
|
|
[ "`uname -m`" == "x86_64" ] && _arch="amd64"
|
2017-10-28 14:10:23 +02:00
|
|
|
|
kaynak=("https://dl.google.com/linux/direct/google-chrome-stable_current_${_arch}.deb"
|
2016-02-24 01:27:23 +01:00
|
|
|
|
"https://www.google.com/chrome/intl/en/eula_text.html")
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
bsdtar -xf google-chrome-stable_current_${_arch}.deb
|
2017-01-31 01:37:09 +01:00
|
|
|
|
bsdtar -xf data.tar.xz -C "$PKG/"
|
|
|
|
|
|
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
for i in 16 22 24 32 48 64 128 256; do
|
|
|
|
|
install -Dm644 "$PKG"/opt/google/chrome/product_logo_${i}.png \
|
|
|
|
|
"$PKG"/usr/share/icons/hicolor/${i}x${i}/apps/google-chrome.png
|
|
|
|
|
rm $PKG/opt/google/chrome/product_logo_${i}.png
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
install -Dm644 "$SRC"/eula_text.html "$PKG"/usr/share/licenses/google-chrome/eula_text.html
|
2017-01-31 01:37:09 +01:00
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
rm -r "$PKG"/etc/cron.daily/ "$PKG"/opt/google/chrome/cron/
|
|
|
|
|
}
|