desktop/google-talkplugin/PKGBUILD
2013-05-30 10:00:38 +00:00

26 lines
965 B
Bash

# maintainer: AlmAck
pkgname=google-talkplugin
pkgver=3.19.1.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=('custom:google')
depends=('libgl' 'glew' 'glib2' 'libpng12' 'libx11' 'libxfixes' 'libxt' 'openssl')
optdepends=('libnotify' 'pulseaudio')
source=(${pkgname}-$pkgver-${CARCH}.rpm::http://dl.google.com/linux/direct/${pkgname}_current_${CARCH}.rpm
license.html::http://www.google.com/intl/en/policies/terms/index.html)
sha1sums=('cd7d1301c3c053208cd48555b57bdafeb747edff' '07475aafcde2ec4d293f0c64940662c3c39565e2')
package() {
cp -R ${srcdir}/opt ${pkgdir}
install -d "${pkgdir}/usr/lib"
cp -R ${srcdir}/usr/lib*/* ${pkgdir}/usr/lib
# cleaning up cron update script
rm -rf ${pkgdir}/opt/google/talkplugin/cron
# install license file
install -Dm644 "$srcdir/license.html" "$pkgdir/usr/share/licenses/$pkgname/license.html"
}