Advertisement
Guest User

chromium-pepperflash example PKGBUILD

a guest
May 26th, 2012
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. # Maintainer: Ner0
  2.  
  3. pkgname=chromium-pepper-flash
  4. pkgver=11.3.31.103
  5. pkgrel=2
  6. pkgdesc="Google Chrome's Pepper Flash plugin for Chromium"
  7. arch=('i686' 'x86_64')
  8. _arch="$CARCH"
  9. [ "$CARCH" = 'i686' ] && _arch='i386'
  10. url="http://wiki.archlinux.org/index.php/Chromium#Flash_Player"
  11. license=('custom')
  12. depends=('')
  13. if [ -f /usr/bin/pulseaudio ]; then
  14. depends+=('pulseaudio-alsa')
  15. fi
  16. makedepends=('wget' 'chromium-browser')
  17. install=pepper.install
  18.  
  19. package() {
  20. wget "http://dl.google.com/dl/linux/direct/google-chrome-unstable_current_${_arch}.rpm"
  21.  
  22. msg "Extracting Sources..."
  23. bsdtar -xf google-chrome-unstable_current_${_arch}.rpm opt/google/chrome/PepperFlash
  24.  
  25. install -dm755 "$pkgdir/usr/lib/PepperFlash"
  26. for i in opt/google/chrome/PepperFlash/*; do install -m644 "$i" "$pkgdir/usr/lib/PepperFlash"; done
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement