aboutsummaryrefslogtreecommitdiffstats
path: root/community/goobook/APKBUILD
blob: 5aef09c9b6473e868d34b6df6bfefc3ebfef0cb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Ivan Tham <pickfire@riseup.net>
# Maintainer: Ivan Tham <pickfire@riseup.net>
pkgname=goobook
pkgver=3.4
pkgrel=1
pkgdesc="Access Google contacts from the command line"
url="https://gitlab.com/goobook/goobook"
arch="noarch"
license="GPL-3.0-or-later"
depends="py3-setuptools py3-httplib2 py3-google-auth-httplib2
	py3-google-api-python-client py3-simplejson py3-oauth2client"
makedepends="py3-docutils"
options="!check" # no test suite on gitlab
subpackages="$pkgname-doc"
source="https://files.pythonhosted.org/packages/source/g/goobook/goobook-$pkgver.tar.gz"

build() {
	python3 setup.py build

	rst2man-3 --strict goobook.1.rst goobook.1
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"

	install -D -m0644 goobook.1 "$pkgdir/usr/share/man/man1/goobook.1"
}

sha512sums="e58cdee28ee4464548b04800740d0ffd40ce972efd52af9509f3de603eed9e50fad03cc9116f1d0dc42f77621bbab58d73bff98cf35a3cb55b24a0f04b26cd4d  goobook-3.4.tar.gz"