aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-02-25 07:44:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-02-25 07:44:38 +0000
commit4b68aa7debf0b38f6951c7643a9b0e00b8c19b9c (patch)
treeaffa89729b4c22498b54a06f3cd2ec8ee4019af5
parent8854bd73910c40e3a56ccd71c86d5c99b92a1c8d (diff)
downloadaports-4b68aa7debf0b38f6951c7643a9b0e00b8c19b9c.tar.bz2
aports-4b68aa7debf0b38f6951c7643a9b0e00b8c19b9c.tar.xz
testing/glances: use git tag instead of using git master
-rw-r--r--testing/glances/APKBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/testing/glances/APKBUILD b/testing/glances/APKBUILD
index 97d48d1fe9..5862ce3dfe 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"