pkgname=python3-httplib2 pkgver=0.22.0 pkgrel=2 pkgdesc="Comprehensive HTTP client library, httplib2.py supports many features left out of other HTTP libraries" arch=('x86_64') url="https://github.com/httplib2" license=('LGPL') depends=('python3-setuptools') source=("https://github.com/httplib2/httplib2/archive/v${pkgver}.tar.gz") sha256sums=('f0463bc04d2546325eaba1da15f8e45763ed2a52b47c0331c721f1c85470c9ca') build() { cd httplib2-${pkgver} python3 setup.py build } package() { cd httplib2-${pkgver} python3 setup.py install --skip-build --prefix=/usr --root=${pkgdir} install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }