summaryrefslogtreecommitdiffstats
path: root/testing/glances/APKBUILD
blob: a8f529c58501a90ad0a0b720a8e2fc970ab4967f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=glances
pkgver=2.0
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="python-dev py-setuptools"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc $pkgname-lang"
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
}

md5sums="8ecb4de894aadae70513d3dac6bc5da0  glances-2.0.tar.gz"
sha256sums="e2332eb9b52cead8ef6c0f993547f5a59fe02446e56d6e4ce81a11f9e41adf22  glances-2.0.tar.gz"
sha512sums="9b9620b161312269921db96ef9f76ab5ac57f07318fa137feaeabd735c7a38a46edacff0f36752e65cec004e358d36b03ba75b6a3d4af8b57dcf7020506315a1  glances-2.0.tar.gz"