aboutsummaryrefslogblamecommitdiffstats
path: root/community/goobook/APKBUILD
blob: bbbab7a653dc2012ead37a8aaaaeb2f27253f7bd (plain) (tree)
1
2
3
4
5
6
7
8


                                              

          

                                                      
                                               





                                                                     
                                                                                        

         
                              
 
                                                  

 

                                                               
 
                                                                          

 
                                                                                                                                                                 
# Contributor: Ivan Tham <pickfire@riseup.net>
# Maintainer: Ivan Tham <pickfire@riseup.net>
pkgname=goobook
pkgver=3.5
pkgrel=0
pkgdesc="Access Google contacts from the command line"
url="https://gitlab.com/goobook/goobook"
arch="noarch !ppc64le"  # limited by py3-grpcio
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="96c9fac3eab78456e694339fd0e7f6965d6603a0531a41e07749a2468317d4fa191c7a1a54abdb256ab6d1196bc645a285bbdaa0e2a080980fe86b6976a84a82  goobook-3.5.tar.gz"