# Maintainer: Sébastien Luttringer # Contributor: Bartłomiej Piotrowski # Contributor: Francois Boulogne pkgname=glances pkgver=3.1.0 pkgrel=1 pkgdesc='CLI curses-based monitoring tool' arch=('any') url='https://github.com/nicolargo/glances' license=('LGPL') makedepends=('git') depends=('python' 'python-psutil' 'python-setuptools') optdepends=('hddtemp: HDD temperature monitoring support' 'python-bottle: web server support' 'python-docker: for the Docker monitoring support' 'python-matplotlib: for graphical/chart support' 'python-netifaces: for the IP plugin' 'python-zeroconf: for the autodiscover mode') source=("https://github.com/nicolargo/glances/archive/v${pkgver}.tar.gz" 'glances.service') sha512sums=('a888cafa5987ab7a88caa0248e0cb3d9f65466d71ee8f1ca63565c5a8a59282be77c14f29afb2302fba0e79294c39e96384791cd89d23aa7727bfd4f20e2814d' '49f0d185a37a5c5837e5beb463770c943ede40b2f1b8405e338129e897e97d9fc58373a8586fabc506266e6343cfea3c91b9787ac6832cc97a1ab63d6ad058d4') package() { cd "glances-${pkgver}" python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 install -Dm644 "${srcdir}"/glances.service \ "${pkgdir}"/usr/lib/systemd/system/glances.service } # vim:set ts=2 sw=2 et: