# Contributor: Łukasz Jendrysik # Contributor: Sören Tempel # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=glances pkgver=2.6.2 pkgrel=1 pkgdesc="A CLI curses based monitoring tool" url="http://nicolargo.github.com/glances/" arch="noarch" license="LGPL3+" depends="py-psutil py-bottle py-snmp py-batinfo docker-py" makedepends="python-dev py-setuptools" subpackages="$pkgname-doc" source="glances-$pkgver.tar.gz::https://github.com/nicolargo/glances/archive/v$pkgver.tar.gz" builddir="$srcdir"/glances-$pkgver build() { cd "$builddir" python setup.py build || return 1 } package() { cd "$builddir" python setup.py install --prefix=/usr --root="$pkgdir" || return 1 # Remove images and HTML doc depending on those rm -rf "$pkgdir"/usr/share/doc/$pkgname/$pkgname-doc.html \ "$pkgdir"/usr/share/doc/$pkgname/images || return 1 } md5sums="5fbf04e9176030fb50194fcc39596128 glances-2.6.2.tar.gz" sha256sums="7ed8bd81308565a25d22216dfe3f64c6ef8cfc4975a0d92239aff44a912c7694 glances-2.6.2.tar.gz" sha512sums="bc3de18e05138a1a5cf4ebb50d359c405515d3aace9838eb5657c8fda11b43af63a02fd4fd346dde62a35572823d5628d8c4cb181c645ef3bd114e66d0f68c1d glances-2.6.2.tar.gz"