blob: 8fa7ea6e5f63a065796918b8323db2ed46d810a3 (
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
|
# 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.7.1
pkgrel=0
pkgdesc="A CLI curses based monitoring tool"
url="http://nicolargo.github.com/glances/"
arch="noarch"
license="LGPL3+"
depends="py2-psutil py2-bottle py2-snmp py2-batinfo docker-py"
makedepends="python2-dev py-setuptools"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/nicolargo/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
python2 setup.py build || return 1
}
package() {
cd "$builddir"
python2 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="312a6488549abfa9ec870c95dc8b7f1b glances-2.7.1.tar.gz"
sha256sums="0f747423e4dee049b1113fc6db2d76af73ef75b1c3445af00cada103bcbbeb69 glances-2.7.1.tar.gz"
sha512sums="7ac20ca8da774ee13696e9f3246b7dd9739ae81b65168a81265c3b3483d4e561fa1df639fd7debe790a5c2145a976db5ad19925ef30c978f65441b9f8fd91c9b glances-2.7.1.tar.gz"
|