aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/glances/APKBUILD23
1 files changed, 12 insertions, 11 deletions
diff --git a/testing/glances/APKBUILD b/testing/glances/APKBUILD
index 5862ce3dfe..dd25d7ac96 100644
--- a/testing/glances/APKBUILD
+++ b/testing/glances/APKBUILD
@@ -1,29 +1,30 @@
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=glances
-pkgver=1.6
+pkgver=2.0
pkgrel=0
-pkgdesc="CLI curses based monitoring tool for GNU/Linux and BSD OS."
+pkgdesc="A CLI curses based monitoring tool"
url="http://nicolargo.github.com/glances/"
arch="noarch"
-license="GPL"
-depends=""
+license="LGPL3+"
+depends="py-setuptools py-psutil py-bottle py-snmp py-batinfo py-"
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
-
+ cd "$_builddir"
+ python setup.py build || return 1
}
+
package() {
cd "$_builddir"
- python setup.py install --prefix=/usr --root="$pkgdir" || return !
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
-md5sums="2e98bfcd996353bc6c7720fe72fc99cd glances-1.6.tar.gz"
-sha256sums="b5c6f97a047341b3fdec0c02b8201efbd0e2b1c09a7cdbde593a84bf1ce32814 glances-1.6.tar.gz"
-sha512sums="166cbdaf01e4ba5095982f64f5515141bc6d52e41bba0d991ef8684deced25209ef581ffbea800d9c0ea9a68d75aed61f2357b626688486cb3b0450517e75279 glances-1.6.tar.gz"
+md5sums="9a7ee4f111a722edf4901090a1f49f83 glances-2.0.tar.gz"
+sha256sums="e7c719af8676caaefa70adff1e5ef856c3c97791e3171608eded6d95350f9d94 glances-2.0.tar.gz"
+sha512sums="963c9730e254bc4b1b7f00ff5e893022b9581bc1fc97e0ab41e0c40ca816ee95d4062c87f6b8e2487e19713aff2274ca205a3407e4cd746dc51bd5848cda89db glances-2.0.tar.gz"