Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name=google-chrome
- version=stable_current_amd64
- release=3
- source=(https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb)
- build() {
- bsdcpio -i < $SRC/$name-$version.deb
- bsdtar -xpf $SRC/data.tar.xz -C $PKG
- rm -r $PKG/usr/share/{doc,menu,man,gnome-control-center}
- for i in 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
- done
- ln -s /usr/lib/libudev.so $PKG/opt/google/chrome/libudev.so.0
- rm -r $PKG/etc/cron.daily/ $PKG/opt/google/chrome/cron/
- rm $PKG/opt/google/chrome/product_logo_*.png
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement