aboutsummaryrefslogtreecommitdiffstats
path: root/community/glances/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/glances/APKBUILD')
-rw-r--r--community/glances/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/glances/APKBUILD b/community/glances/APKBUILD
new file mode 100644
index 0000000000..8bb6514877
--- /dev/null
+++ b/community/glances/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Łukasz Jendrysik <scadu@yandex.com>
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=glances
+pkgver=2.6.2
+pkgrel=1
+pkgdesc="A CLI curses based monitoring tool"
+url="http://nicolargo.github.com/glances/"
+arch="noarch"
+license="LGPL3+"
+depends="py-psutil py-bottle py-snmp py-batinfo docker-py"
+makedepends="python-dev py-setuptools"
+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="5fbf04e9176030fb50194fcc39596128 glances-2.6.2.tar.gz"
+sha256sums="7ed8bd81308565a25d22216dfe3f64c6ef8cfc4975a0d92239aff44a912c7694 glances-2.6.2.tar.gz"
+sha512sums="bc3de18e05138a1a5cf4ebb50d359c405515d3aace9838eb5657c8fda11b43af63a02fd4fd346dde62a35572823d5628d8c4cb181c645ef3bd114e66d0f68c1d glances-2.6.2.tar.gz"