Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)

PKGBUILD for chromium-stable-libpdf

By: ava1ar on Aug 8th, 2012  |  syntax: Bash  |  size: 0.74 KB  |  hits: 87  |  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. # Contributor: ava1ar (mail(dot)avatar(at)gmail(dot)com)
  2.  
  3. pkgname=chromium-stable-libpdf
  4. pkgver=21.0.1180.75
  5. pkgrel=1
  6. pkgdesc="Google Chrome's PDF plugin for Chromium (stable version)"
  7. url="http://www.google.com/chrome"
  8. license=('custom:chrome')
  9. depends=('chromium-browser')
  10. arch=('i686' 'x86_64')
  11. _arch="$CARCH"
  12. [ "$CARCH" = 'i686' ] && _arch='i386'
  13. source=(google-chrome-stable-${pkgver}_${_arch}.rpm::https://dl.google.com/linux/direct/google-chrome-stable_current_${_arch}.rpm)
  14. sha1sums=('84d0e82c4ffca5119675a73ccdfde3bfc1706721')
  15. [ "$CARCH" = 'i686' ] && sha1sums=('16c7c567bc12785b2b4138c0ce5368325b206167')
  16.  
  17. build() {
  18.     install -d "$pkgdir/usr/lib/chromium"
  19.     install -m644 opt/google/chrome/libpdf.so "$pkgdir/usr/lib/chromium"
  20. }