talimat 1.2 KB

123456789101112131415161718192021222324252627282930
  1. # Description: Linux için geliştirici önizleme kanalı olan Google Chrome Tarayıcısı
  2. # URL: http://dev.chromium.org/getting-involved/dev-channel
  3. # Packager: milisarge
  4. # Depends on: nss gconf libjpeg-turbo freetype cairo libxslt libpng alsa-lib hicolor-icon-theme xdg-utils
  5. name=google-chrome-unstable
  6. version=50.0.2638.0
  7. release=1
  8. [ "`uname -m`" == "i686" ] && _arch="i386"
  9. [ "`uname -m`" == "x86_64" ] && _arch="amd64"
  10. source=("https://dl.google.com/linux/direct/google-chrome-unstable_current_${_arch}.deb"
  11. "https://www.google.com/chrome/intl/en/eula_text.html")
  12. build() {
  13. bsdtar -xf google-chrome-unstable_current_${_arch}.deb
  14. bsdtar -xf data.tar.xz -C "$PKG/"
  15. gzip "$PKG"/usr/share/man/man1/google-chrome-unstable.1
  16. for i in 16 22 24 32 48 64 128 256; do
  17. install -Dm644 "$PKG"/opt/google/chrome-unstable/product_logo_${i}.png "$PKG"/usr/share/icons/hicolor/${i}x${i}/apps/google-chrome-unstable.png
  18. done
  19. install -Dm644 "$SRC"/eula_text.html "$PKG"/usr/share/licenses/google-chrome/eula_text.html
  20. rm -r "$PKG"/etc/cron.daily/ "$PKG"/opt/google/chrome-unstable/cron/
  21. rm "$PKG"/opt/google/chrome-unstable/product_logo_*.png
  22. }