# Contributor: Łukasz Jendrysik # Contributor: Sören Tempel # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=glances pkgver=2.6.1 pkgrel=0 pkgdesc="A CLI curses based monitoring tool" url="http://nicolargo.github.com/glances/" arch="noarch" license="LGPL3+" depends="py-setuptools py-psutil py-bottle py-snmp py-batinfo" depends_dev="" makedepends="python-dev py-setuptools" install="" 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="7e58608f8b9ff5735288cac18f4fd29a glances-2.6.1.tar.gz" sha256sums="47617452d128e3a3fd560c954b8ff26ea4181fdc55b6fb75c33a5a20e213af22 glances-2.6.1.tar.gz" sha512sums="eab7d9dfc0e9357219560c21225557bc11aa4c7f03634922c93b9b6c38d2c22c7eb5e653ed9404f42023f19a14e4900d7662cb90db270b72f4acc4d6ec14fcc3 glances-2.6.1.tar.gz"