diff --git a/srcpkgs/btrfs-progs/template b/srcpkgs/btrfs-progs/template index 43a99ff8762..878bb66aa66 100644 --- a/srcpkgs/btrfs-progs/template +++ b/srcpkgs/btrfs-progs/template @@ -11,6 +11,8 @@ short_desc="Btrfs filesystem utilities" maintainer="Juan RP " license="GPL-2" homepage="http://btrfs.wiki.kernel.org/" +update_pattern=$pkgname' \K[\d+.]+' +update_version="${_distver}" do_fetch() { git clone -b v${_distver} git://git.kernel.org/pub/scm/linux/kernel/git/kdave/${pkgname}.git ${pkgname}-${version}