desktop/google-talkplugin/PKGBUILD
2012-11-03 22:49:53 +00:00

40 lines
975 B
Bash

# Maintainer: abveritas <veritasfarm@gmail.com>
#From AUR package http://aur.archlinux.org/packages.php?ID=40056
pkgname=google-talkplugin
pkgver=3.10.2.0
pkgrel=1
pkgdesc="Video chat browser plug-in for Google Talk"
arch=('x86_64')
url="http://www.google.com/chat/video"
categories=('network')
license=('unknown')
if [ "${CARCH}" = 'x86_64' ]; then
ARCH='amd64'
md5sums=('76ae9b712759f5da4f9aa744c53c3829')
else
ARCH='i386'
md5sums=('d9514d644a36886a7130453f4c1b8c83')
fi
depends=('libgl' 'glew' 'glib2' 'libpng12' 'libx11' 'libxfixes' 'libxt' 'openssl')
optdepends=('libnotify' 'pulseaudio')
install=google-talkplugin.install
source=(http://dl.google.com/linux/direct/google-talkplugin_current_$ARCH.deb)
package() {
msg "Extracting..."
ar -xv google-talkplugin_current_$ARCH.deb
tar -xvf data.tar.gz
msg2 "Done extracting!"
msg "Moving files"
mv $srcdir/opt $pkgdir
mv $srcdir/usr $pkgdir
msg2 "Done moving files"
}