emilgeiger

PKGBUILD google-talkplugin

Feb 28th, 2014
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. # Maintainer: Dominik Mayer <dominik.mayer@gmail.com>
  2. # Maintainer: ava1ar <mail(at)ava1ar(dot)info>
  3.  
  4. pkgname=google-talkplugin
  5. pkgver=5.1.4.0
  6. pkgrel=1
  7. pkgdesc="Video chat browser plug-in for Google Talk"
  8. arch=('i686' 'x86_64')
  9. url="http://www.google.com/chat/video"
  10. license=('custom:google')
  11. depends=('gtk2>=2.12.0' 'alsa-lib' 'mesa' 'lsb-release')
  12. optdepends=('libnotify' 'pulseaudio')
  13. source=(license.html::http://www.google.com/intl/en/policies/terms/index.html)
  14. sha1sums=('SKIP')
  15. if [ "$CARCH" == x86_64 ]; then
  16. source+=(http://dl.google.com/linux/direct/${pkgname}_current_x86_64.rpm)
  17. sha1sums+=('1907017ef07f0adc1a41c4bb4cd01bb32e126854')
  18. elif [ "$CARCH" == i686 ]; then
  19. source+=(http://dl.google.com/linux/direct/${pkgname}_current_i386.rpm)
  20. sha1sums+=('6b1e820253f2502e1f5058d06a9365779335f10d')
  21. fi
  22.  
  23. package() {
  24. cp -R ${srcdir}/opt ${pkgdir}
  25. install -d "${pkgdir}/usr/lib"
  26. cp -R ${srcdir}/usr/lib*/* ${pkgdir}/usr/lib
  27. # cleaning up cron update script
  28. rm -rf ${pkgdir}/opt/google/talkplugin/cron
  29. # install license file
  30. install -Dm644 "${srcdir}/license.html" "${pkgdir}/usr/share/licenses/${pkgname}/license.html"
  31. }
Add Comment
Please, Sign In to add comment