desktop/google-talkplugin/PKGBUILD

26 lines
964 B
Bash
Raw Normal View History

# maintainer: AlmAck
pkgname=google-talkplugin
2013-08-05 03:57:00 +08:00
pkgver=4.2.1.0
2013-05-30 18:00:38 +08:00
pkgrel=1
pkgdesc="Video chat browser plug-in for Google Talk"
2012-11-04 06:49:53 +08:00
arch=('x86_64')
url="http://www.google.com/chat/video"
categories=('network')
license=('custom:google')
2012-03-16 05:26:26 +08:00
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)
2013-08-05 03:57:00 +08:00
sha1sums=('210b0af5cdc8a43d14913d2960839c7069684b96' '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"
}