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 Jun 30th, 2012  |  syntax: Bash  |  size: 0.72 KB  |  hits: 113  |  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: sxe <sxxe@gmx.de>
  2. # Contributor: ava1ar (mail(dot)avatar(at)gmail(dot)com)
  3.  
  4. pkgname=chromium-stable-libpdf
  5. pkgver=20.0.1132.47
  6. pkgrel=1
  7. pkgdesc="Google Chrome's PDF plugin for Chromium (stable version)"
  8. url="http://www.google.com/chrome"
  9. license=('custom:chrome')
  10. depends=('chromium-browser')
  11. arch=('i686' 'x86_64')
  12. _arch="$CARCH"
  13. [ "$CARCH" = 'i686' ] && _arch='i386'
  14. source=(https://dl.google.com/linux/direct/google-chrome-stable_current_${_arch}.rpm)
  15. md5sums=('3569ed25382cf39c81f1b138bafd7485')
  16. [ "$CARCH" = 'i686' ] && md5sums=('2019a1388056b8bf5f7349cdfa0af9f2')
  17.  
  18. build() {
  19.     install -d "$pkgdir/usr/lib/chromium"
  20.     install -m644 opt/google/chrome/libpdf.so "$pkgdir/usr/lib/chromium"
  21. }