aboutsummaryrefslogtreecommitdiffstats
path: root/testing/glances/APKBUILD
blob: ec3805ae5f8c0aa1c3551152d4cda1057dbd65da (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
31
32
33
34
35
36
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=glances
pkgver=2.5.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="d90292fb283b2f888253d650eb28b549  glances-2.5.1.tar.gz"
sha256sums="814cea926c4d491487c06d7ce8d178d412c6223ea3aff03085cba8118c8e8a3d  glances-2.5.1.tar.gz"
sha512sums="7d008e9204d308e5b41da8008a5d7b05040c03235aa7e8e7fb47a0e87bd01aa3fe0bcefd54c29636c63a5fe34f2c92fc7334453797cb37b29b565e1020139499  glances-2.5.1.tar.gz"