# Maintainer: Dominik Mayer <dominik.mayer@gmail.com>
pkgname=google-talkplugin
pkgver=2.6.1.0
pkgrel=1
pkgdesc="Video chat browser plug-in for Google Talk"
arch=('i686' 'x86_64')
url="http://www.google.com/chat/video"
license=('unknown')
if [ "${CARCH}" = 'x86_64' ]; then
ARCH='amd64'
md5sums=('fca8b27eb22c25cc4f603a10ebd6deae')
else
ARCH='i386'
md5sums=('067aabe52054174066ce6e78466b8e53')
fi
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')
optdepends=('libnotify' 'pulseaudio')
source=(http://dl.google.com/linux/direct/google-talkplugin_current_$ARCH.deb)
build() {
msg "Extracting..."
ar -xv google-talkplugin_current_$ARCH.deb || return 1
tar -xvf data.tar.gz || return 1
msg2 "Done extracting!"
msg "Moving files"
mv $srcdir/opt $pkgdir
mv $srcdir/usr $pkgdir
msg2 "Done moving files"
}