summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel M. Capella2017-10-06 06:16:20 -0400
committerDaniel M. Capella2017-10-06 20:16:08 -0400
commita4098d77e21b5bc6b8580a3321cae46ed4f90801 (patch)
tree56a05338396283a15060b379422d1f84cf0f973b
downloadaur-a4098d77e21b5bc6b8580a3321cae46ed4f90801.tar.gz
Initial commit
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD40
2 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d5bab0e7261
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+# Generated by mksrcinfo v8
+# Fri Oct 6 20:26:58 UTC 2017
+pkgbase = hangups
+ pkgdesc = The first third-party instant messaging client for Google Hangouts
+ pkgver = 0.4.2
+ pkgrel = 1
+ url = https://github.com/tdryer/hangups
+ arch = any
+ license = MIT
+ checkdepends = python-httpretty
+ checkdepends = python-pytest
+ depends = python-aiohttp
+ depends = python-appdirs
+ depends = python-configargparse
+ depends = python-mechanicalsoup
+ depends = python-protobuf
+ depends = python-readlike
+ depends = python-reparser
+ depends = python-requests
+ depends = python-urwid
+ source = hangups-0.4.2.tar.gz::https://github.com/tdryer/hangups/archive/v0.4.2.tar.gz
+ sha512sums = 0d4cd5a8faba66108193e17134c4d6c162a5904cee768dbad8d76852f6c2c198903a75912786c85da56016cad0c0e86086eea7f7622641d4ae3a9fb38a3a46d4
+
+pkgname = hangups
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f41b8a868ea
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Daniel M. Capella <polyzen@archlinux.info>
+# Contributor: Stunts <f.pinamartins@gmail.com>
+
+pkgname=hangups
+pkgver=0.4.2
+pkgrel=1
+pkgdesc='The first third-party instant messaging client for Google Hangouts'
+arch=('any')
+url=https://github.com/tdryer/hangups
+license=('MIT')
+depends=('python-aiohttp' 'python-appdirs' 'python-configargparse'
+ 'python-mechanicalsoup' 'python-protobuf' 'python-readlike'
+ 'python-reparser' 'python-requests' 'python-urwid')
+checkdepends=('python-httpretty' 'python-pytest')
+source=("hangups-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('0d4cd5a8faba66108193e17134c4d6c162a5904cee768dbad8d76852f6c2c198903a75912786c85da56016cad0c0e86086eea7f7622641d4ae3a9fb38a3a46d4')
+
+prepare() {
+ cd hangups-$pkgver
+ sed -i 's/==/>=/g' setup.py
+ sed -i 's/protobuf>=3.1.0,<3.2.0/protobuf>=3.1.0/' setup.py
+ sed -i 's/aiohttp>=1.2,<1.3/aiohttp>=1.2/' setup.py
+}
+
+build() {
+ cd hangups-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd hangups-$pkgver
+ pytest hangups
+}
+
+package() {
+ cd hangups-$pkgver
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build
+}
+
+# vim:set ts=2 sw=2 et: