# Maintainer: Simon Brulhart pkgname='python-taxi-zebra' pkgver=1.4.0 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=('dafc3db54c47d61ab2eb17fa819b4c771ae838eff73fa8d0dddaf4b116b82a12ef8affeac38fbc57b3356c03823981839d000a654efd186a6a2651fc218d26c4' '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 }