# Maintainer: Michał Masłowski pkgname=h-client _pkgver=0.0a0.dev-r80 pkgver=${_pkgver/-/.} pkgrel=1 pkgdesc="A client for an h-source server (such as http://www.h-node.com)" arch=('any') url="https://savannah.nongnu.org/projects/h-client/" license=('GPL3') depends=('python2' 'python2-distribute' 'python-pycurl' 'pygtk') options=(!emptydirs) # Official source is in SVN, this is made by "python2 setup.py sdist". source=("http://mtjm.eu/releases/hclient-${_pkgver}.tar.gz") sha512sums=('d148084be40aa741f012ba49285ea428b4d6c032a015f732e1a7987f8125acd04a033df97e4536cc9587a3535f701305e4d44f641479e99d0e49a0da652abf2a') check() { cd "$srcdir/hclient-${_pkgver}" python2 setup.py test } package() { cd "$srcdir/hclient-${_pkgver}" # Remove tests, they aren't useful after installation. rm -rf {,build/lib/}tests_hclient rm -rf {,build/lib/}hclient.egg-info python2 setup.py install --root="$pkgdir/" --optimize=1 } # vim:set ts=2 sw=2 et: