# Maintainer: UtG # Contributors AlmAck # Dominik Mayer # ava1ar pkgname=google-talkplugin pkgver=5.2.4.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=(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) sha1sums=('990d199365e8b87234bce54747c00c8311cdcf67' 'SKIP') 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.html" }