# $Id: PKGBUILD 126889 2015-02-01 00:00:24Z seblu $
# Maintainer: Sébastien Luttringer <seblu@archlinux.org>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Francois Boulogne <fboulogne at april dot org>

pkgname=glances
pkgver=2.3
pkgrel=1
pkgdesc='CLI curses-based monitoring tool'
arch=('any')
url='https://github.com/nicolargo/glances'
license=('LGPL')
depends=('python' 'python-psutil' 'python-setuptools')
optdepends=('python-bottle: web server support'
            'hddtemp: HDD temperature monitoring support')
source=("https://pypi.python.org/packages/source/G/Glances/Glances-$pkgver.tar.gz")
md5sums=('0022bac9891c914e2e6e86c0c300e58d')

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:
