This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Google Talkplugin Arch Linux PKGBUILD

By: a guest on Mar 14th, 2012  |  syntax: Bash  |  size: 0.91 KB  |  views: 210  |  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: Dominik Mayer <dominik.mayer@gmail.com>
  2. pkgname=google-talkplugin
  3. pkgver=2.7.5.0
  4. pkgrel=1
  5. pkgdesc="Video chat browser plug-in for Google Talk"
  6. arch=('i686' 'x86_64')
  7. url="http://www.google.com/chat/video"
  8. license=('unknown')
  9. depends=('gtk2>=2.12.0' 'libpng12>=1.2.13' 'libgl' 'libxt')
  10. optdepends=('libnotify' 'pulseaudio')
  11.  
  12. if [ "${CARCH}" = 'x86_64' ]; then
  13.     ARCH='amd64'
  14.     md5sums=('4c678beb9b1187078110b240276606e2')
  15. else
  16.     ARCH='i386'
  17.     md5sums=('9b37dfd0bd1741780028fc376f2b12f9')
  18. fi
  19.  
  20. source=(google-talkplugin-$pkgver-$ARCH.deb::http://dl.google.com/linux/direct/google-talkplugin_current_$ARCH.deb)
  21.  
  22. build() {
  23.     msg "Extracting..."
  24.     ar -xv google-talkplugin-$pkgver-$ARCH.deb || return 1
  25.     tar -xvf data.tar.gz || return 1
  26.     msg2 "Done extracting!"
  27.     msg "Moving files"
  28.     mv $srcdir/opt $pkgdir
  29.     mv $srcdir/usr $pkgdir
  30.     msg2 "Done moving files"
  31.  
  32. }
clone this paste RAW Paste Data