diff --git a/srcpkgs/xdg-utils/template b/srcpkgs/xdg-utils/template index 3b57a08f9d..fdcc9668a1 100644 --- a/srcpkgs/xdg-utils/template +++ b/srcpkgs/xdg-utils/template @@ -1,9 +1,8 @@ # Template file for 'xdg-utils' pkgname=xdg-utils _distver=1.1.0 -_patchver=rc1 +_patchver=rc2 version="${_distver}${_patchver}" -wrksrc="${pkgname}-${_distver}-${_patchver}" revision=1 noarch="yes" build_style=gnu-configure @@ -11,5 +10,10 @@ short_desc="Tools to assist applications with various desktop integration tasks" homepage="http://portland.freedesktop.org/" license="MIT" maintainer="Juan RP <xtraeme@gmail.com>" -distfiles="http://portland.freedesktop.org/download/${pkgname}-${_distver}-${_patchver}.tar.gz" -checksum=7b05558ae4bb8ede356863cae8c42e3e012aa421bf9d45130a570fd209d79102 +hostmakedepends="git xmlto lynx" + +do_fetch() { + git clone git://anongit.freedesktop.org/xdg/xdg-utils ${pkgname}-${version} + cd ${pkgname}-${version} + git checkout "v${_distver}-${_patchver}" +}