Advertisement
Guest User

chrome

a guest
Apr 20th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. name=google-chrome
  2. version=stable_current_amd64
  3. release=3
  4. source=(https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb)
  5.  
  6. build() {
  7. bsdcpio -i < $SRC/$name-$version.deb
  8. bsdtar -xpf $SRC/data.tar.xz -C $PKG
  9. rm -r $PKG/usr/share/{doc,menu,man,gnome-control-center}
  10.  
  11. for i in 22 24 32 48 64 128 256; do
  12. install -Dm644 $PKG/opt/google/chrome/product_logo_${i}.png $PKG/usr/share/icons/hicolor/${i}x${i}/apps/google-chrome.png
  13. done
  14.  
  15. ln -s /usr/lib/libudev.so $PKG/opt/google/chrome/libudev.so.0
  16. rm -r $PKG/etc/cron.daily/ $PKG/opt/google/chrome/cron/
  17. rm $PKG/opt/google/chrome/product_logo_*.png
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement