diff --git a/srcpkgs/glances/template b/srcpkgs/glances/template index bbb3ee4afc3..f8e75055e0c 100644 --- a/srcpkgs/glances/template +++ b/srcpkgs/glances/template @@ -3,8 +3,6 @@ pkgname=glances version=2.0 revision=2 noarch="yes" -distfiles="https://github.com/nicolargo/glances/archive/v${version}.tar.gz" -checksum=e2332eb9b52cead8ef6c0f993547f5a59fe02446e56d6e4ce81a11f9e41adf22 build_style="python-module" pycompile_module="glances" hostmakedepends="python-devel python-setuptools python-psutil" @@ -14,3 +12,7 @@ maintainer="Steven R " homepage="https://github.com/nicolargo/glances" license="LGPL-3" short_desc="Cross-platform curses-based monitoring tool written in Python2" + +do_fetch() { + git clone -b v${version} git://github.com/nicolargo/glances ${pkgname}-${version} +}