Skip to content

Instantly share code, notes, and snippets.

@karronoli
Last active July 8, 2016 11:01
Show Gist options
  • Save karronoli/4c7aa993eb4e8f21672e to your computer and use it in GitHub Desktop.
Save karronoli/4c7aa993eb4e8f21672e to your computer and use it in GitHub Desktop.
Google Hangouts plugin for Arch Linux
pkgname=google-hangouts-plugin
pkgver=5.41.0.0
pkgrel=1
pkgdesc="Video chat browsers plug-in for Google Hangouts"
url="https://hangouts.google.com/"
license=("custom:google")
arch=(x86_64)
source=(https://dl.google.com/linux/direct/google-talkplugin_current_amd64.deb
license.html::https://www.google.com/intl/en/policies/terms/index.html)
sha1sums=('1c3cc0411444587b56178de4868eb5d0ff742ec0'
'4be07a10dc7acc9d78823fce2d9a586b79bf753c')
package() {
tar -xf data.tar.?z -C "$pkgdir" ./
rm -rf "$pkgdir"/opt/google/talkplugin/cron
rm -rf "$pkgdir"/etc
install -Dm644 "$srcdir"/license.html "$pkgdir"/usr/share/licenses/${pkgname}/license.html
}
@NunoDasNeves
Copy link

NunoDasNeves commented Jul 8, 2016

Works!
makepkg gave me a warning about the validity of license.html, but I ran it with --skipinteg and it installed (and ran) fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment