daily pastebin goal
40%
SHARE
TWEET

google-chrome.pkgfile

timcowchip Mar 18th, 2017 29 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Description: Google Chrome Browser, developer preview channel for Linux
  2. # URL: http://googlechromereleases.blogspot.fr/search/label/Stable%20updates
  3. # Maintainer:  Chris Farrell, timcowchip at gmail dot com
  4. # Depends on: pango xorg-libxcomposite cups atk gtk nss gconf libjpeg-turbo freetype cairo libxslt libpng alsa-lib hicolor-icon-theme xdg-utils xorg-libxscrnsaver
  5.  
  6. name=google-chrome
  7. version=57.0.2987.98
  8. release=1
  9.  
  10. PKGMK_KEEP_SOURCES="no"
  11.  
  12. [ "`uname -m`" == "i686" ] && _arch="i386"
  13. [ "`uname -m`" == "x86_64" ] && _arch="amd64"
  14.  
  15. source=("https://dl.google.com/linux/direct/google-chrome-stable_current_${_arch}.deb"
  16.          "https://www.google.com/chrome/intl/en/eula_text.html")
  17.  
  18. build() {
  19.     bsdtar -xf google-chrome-stable_current_${_arch}.deb
  20.     bsdtar -xf data.tar.xz -C "$PKG/"
  21.    
  22.     for i in 16 22 24 32 48 64 128 256; do
  23.     install -Dm644 "$PKG"/opt/google/chrome/product_logo_${i}.png \
  24.     "$PKG"/usr/share/icons/hicolor/${i}x${i}/apps/google-chrome.png
  25.     rm $PKG/opt/google/chrome/product_logo_${i}.png
  26.     done
  27.  
  28.     install -Dm644 "$SRC"/eula_text.html "$PKG"/usr/share/licenses/google-chrome/eula_text.html
  29.    
  30.     rm -r "$PKG"/etc/cron.daily/ "$PKG"/opt/google/chrome/cron/
  31. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top