# $Id$ # Maintainer: Sébastien Luttringer # Contributor: Bartłomiej Piotrowski # Contributor: Francois Boulogne pkgname=glances pkgver=2.5.1 pkgrel=2 pkgdesc='CLI curses-based monitoring tool' arch=('any') url='https://github.com/nicolargo/glances' license=('LGPL') depends=('python-psutil') makedepends=('python-setuptools') optdepends=('python-bottle: web server support' 'hddtemp: HDD temperature monitoring support' 'zeroconf: for the autodiscover mode' 'python-netifaces: 'for the IP plugin' 'python-docker-py: for the Docker monitoring support' 'python-matplotlib: for graphical/chart support') source=("https://pypi.python.org/packages/source/G/Glances/Glances-$pkgver.tar.gz") md5sums=('b8a7815353cf10e1aafffc6f4f235926') package() { cd Glances-$pkgver python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 # remove html doc rm -r "$pkgdir/usr/share/doc/$pkgname"/{glances-doc.html,images} } # vim:set ts=2 sw=2 et: