# Maintainer: Storm Dragon _pkgname=pypump pkgname=pypump-git pkgver=v0.5.r76.gc73e093 pkgrel=1 pkgdesc="An interface to the pump.io API's." arch=('any') url="https://github.com/xray7224/$_pkgname" license=('GPL3+') makedepends=('python-setuptools') source=("$_pkgname::git+git://github.com/xray7224/$_pkgname.git") md5sums=('SKIP') pkgver() { cd "$_pkgname" git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g' } package() { cd "$_pkgname" python setup.py install --root="${pkgdir}/" --optimize=1 }