Guest User

PKGBUILD google-talkplugin 2.6.1.0-1

a guest
Jan 29th, 2012
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.04 KB | None | 0 0
  1. # Maintainer: Dominik Mayer <dominik.mayer@gmail.com>
  2. pkgname=google-talkplugin
  3. pkgver=2.6.1.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.  
  10. if [ "${CARCH}" = 'x86_64' ]; then
  11.     ARCH='amd64'
  12.     md5sums=('fca8b27eb22c25cc4f603a10ebd6deae')
  13. else
  14.     ARCH='i386'
  15.     md5sums=('067aabe52054174066ce6e78466b8e53')
  16. fi
  17.  
  18. depends=('alsa-utils' 'gcc-libs>=4.1.1' 'glibc>=2.4' 'fontconfig>=2.4.0' 'freetype2>=2.3.5' 'libgl' 'glew>=1.5.0' 'glib2>=2.12.0' 'gtk2>=2.12.0' 'libpng12>=1.2.13' 'libstdc++5' 'libx11' 'libxfixes' 'libxt' 'openssl-compatibility')
  19. optdepends=('libnotify' 'pulseaudio')
  20.  
  21.  
  22. source=(http://dl.google.com/linux/direct/google-talkplugin_current_$ARCH.deb)
  23.  
  24. build() {
  25.     msg "Extracting..."
  26.     ar -xv google-talkplugin_current_$ARCH.deb || return 1
  27.     tar -xvf data.tar.gz || return 1
  28.     msg2 "Done extracting!"
  29.     msg "Moving files"
  30.     mv $srcdir/opt $pkgdir
  31.     mv $srcdir/usr $pkgdir
  32.     msg2 "Done moving files"
  33.  
  34. }
Add Comment
Please, Sign In to add comment