# Maintainer: UtG # Contributors AlmAck # Dominik Mayer # ava1ar pkgname=google-talkplugin pkgver=5.38.5.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=('8a29257f735fb7a1b74fb5acb63457a794a93ada' '52c11fa6d128cfb9f4a779325aee1e6a489a39e8') 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" }