# Maintainer: Simon Brulhart pkgname=python-taxi-zebra pkgver=2.3.1 pkgrel=1 pkgdesc="Zebra backend for Taxi" arch=('any') license=('custom') url="https://github.com/sephii/taxi-zebra" depends=('python-requests' 'python-six') makedepends=('python' 'python-setuptools') source=( "$pkgname-$pkgver.tar.gz::https://github.com/sephii/taxi-zebra/archive/$pkgver.tar.gz" "https://raw.githubusercontent.com/sephii/taxi/master/LICENSE" ) sha512sums=('ffdbd1f7fe82c2aa33c8cac713bcedb95fa219e28e53df663ebd654c6d44d8b3c88b6124cc6b3b44fca25af3b80d6bddbcad0035dcecbaf3b1f1b3db68e8ed32' '87e4e0e9f65b92db1a3f84823427b0870ae01675fa6e631a8c2e2d89eb12ee19d6011b4f4e74f6d4ca30868010206ef0ddd0b24a814c24b84bc41a5e68864dd4') build() { cd "$srcdir/taxi-zebra-$pkgver" python setup.py build } package() { install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE cd "$srcdir/taxi-zebra-$pkgver" python setup.py install --root="$pkgdir" --optimize=1 }