# Original: Lars Hagström # Maintainer: Lestofante pkgname=s-tui-git pkgver=v0.8.3.r115.g37ca30c pkgrel=2 pkgdesc="Terminal UI stress test and monitoring tool " arch=('any') url="https://github.com/amanusk/s-tui" license=('GPLv2') groups=() depends=('stress' 'python' 'python-urwid' 'python-psutil' 'python-setuptools') makedepends=('git') options=(!emptydirs) install= source=("$pkgname"::"git+$url") sha1sums=('SKIP') conflicts=("s-tui") pkgver() { cd "$pkgname" git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } package() { cd "$pkgname" python setup.py install --root="$pkgdir/" --optimize=1 }