desktop/google-talkplugin/PKGBUILD

40 lines
981 B
Bash

# Maintainer: abveritas <veritasfarm@gmail.com>
#From AUR package http://aur.archlinux.org/packages.php?ID=40056
pkgname=google-talkplugin
pkgver=2.7.5.0
pkgrel=1
pkgdesc="Video chat browser plug-in for Google Talk"
arch=('i686' 'x86_64')
url="http://www.google.com/chat/video"
categories=('network')
license=('unknown')
if [ "${CARCH}" = 'x86_64' ]; then
ARCH='amd64'
md5sums=('4c678beb9b1187078110b240276606e2')
else
ARCH='i386'
md5sums=('9b37dfd0bd1741780028fc376f2b12f9')
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"
}