summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/glances/APKBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/testing/glances/APKBUILD b/testing/glances/APKBUILD
index 97d48d1fe..5862ce3df 100644
--- a/testing/glances/APKBUILD
+++ b/testing/glances/APKBUILD
@@ -1,9 +1,7 @@
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=glances
-_pkgname=nicolargo-glances
-pkgver=1.6.1
-_gitver=4be5ede
+pkgver=1.6
pkgrel=0
pkgdesc="CLI curses based monitoring tool for GNU/Linux and BSD OS."
url="http://nicolargo.github.com/glances/"
@@ -14,8 +12,8 @@ depends_dev="python-dev py-setuptools"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc $pkgname-lang"
-source="saveas-https://github.com/nicolargo/$pkgname/tarball/master/$pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/$_pkgname-$_gitver
+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
@@ -26,6 +24,6 @@ package() {
python setup.py install --prefix=/usr --root="$pkgdir" || return !
}
-md5sums="44e36ffa3ffd9f303c9748a49f7bec89 glances-1.6.1.tar.gz"
-sha256sums="1527c1a73c5ca05a7fb21b42c520025a35807cdb64e3fc1553f1aef54789d9c6 glances-1.6.1.tar.gz"
-sha512sums="f1b204a043ef60cbc09a5e7790d61b9ff45a16dfd75aa6217ceb0821c62faa6bf16ba6948e4ff59eb3c9bb43ffac03e93d101fef119f50653e28f5de9acb9da4 glances-1.6.1.tar.gz"
+md5sums="2e98bfcd996353bc6c7720fe72fc99cd glances-1.6.tar.gz"
+sha256sums="b5c6f97a047341b3fdec0c02b8201efbd0e2b1c09a7cdbde593a84bf1ce32814 glances-1.6.tar.gz"
+sha512sums="166cbdaf01e4ba5095982f64f5515141bc6d52e41bba0d991ef8684deced25209ef581ffbea800d9c0ea9a68d75aed61f2357b626688486cb3b0450517e75279 glances-1.6.tar.gz"