gtk/google-talkplugin/PKGBUILD
2015-12-04 20:07:23 +01:00

28 lines
1.3 KiB
Bash

pkgname=google-talkplugin
pkgver=5.41.0.0
pkgrel=2
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=('gtk2' 'libgl' 'glew' 'glib2' 'libx11' 'libxfixes' 'libxt' 'openssl')
optdepends=('libnotify' 'pulseaudio')
source=(https://dl.google.com/linux/talkplugin/rpm/stable/x86_64/${pkgname}-${pkgver}-1.x86_64.rpm
license.html::http://www.google.com/intl/en/policies/terms/index.html)
sha512sums=('79f4ee56370328ccc67cabf4b82026ef21c80f2da463fba60c7846fcdd382511e074af201d84256f8fdcb1f14680ca20930089181c17cdf69b3e25769f94b0b5'
'293cd5f82323901036a321f1186c51e499886e09cceb1c6b348e54c8ce14316a7ff5c184e1644fb94b2e1d8d6db6949779b79d175f90e02c574c93fa25e7d99a')
package() {
cp -R ${srcdir}/opt ${pkgdir}
install -d "${pkgdir}/usr/lib"
cp -R ${srcdir}/usr/lib*/* ${pkgdir}/usr/lib
# change /usr/lib/chromium-browser to /usr/lib/chromium
cp -R ${pkgdir}/usr/lib/chromium-browser ${pkgdir}/usr/lib/chromium
cp -R ${pkgdir}/usr/lib/chromium-browser ${pkgdir}/usr/lib/chromium-dev
# 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"
}