Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!

chromium-pepper-flash PKGBUILD

By: ava1ar on Jun 20th, 2012  |  syntax: Bash  |  size: 0.80 KB  |  hits: 201  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Ner0
  2. # Contributor: ava1ar (mail(dot)avatar(at)gmail(dot)com)
  3.  
  4. pkgname=chromium-pepper-flash
  5. pkgver=11.3.31.205
  6. pkgrel=1
  7. pkgdesc="Google Chrome's Pepper Flash plugin for Chromium"
  8. arch=('i686' 'x86_64')
  9. _arch="$CARCH"
  10. [ "$CARCH" = 'i686' ] && _arch='i386'
  11. url="http://wiki.archlinux.org/index.php/Chromium#Flash_Player"
  12. license=('custom')
  13. depends=('chromium-browser')
  14. optdepends=('pulseaudio-alsa: For PulseAudio users')
  15. source=(http://dl.google.com/dl/linux/direct/google-chrome-unstable_current_${_arch}.rpm)
  16. md5sums=('7278b8fc9b5f89df1749f3f01f954803')
  17. [ "$CARCH" = 'i686' ] && md5sums=('f53db65b5b6f63661844c351dc709d34')
  18. install=pepper.install
  19.  
  20. package() {
  21.   install -d "$pkgdir/usr/lib/PepperFlash"
  22.   install -m644 opt/google/chrome/PepperFlash/* "$pkgdir/usr/lib/PepperFlash"
  23. }