diff --git a/srcpkgs/libgit2/template b/srcpkgs/libgit2/template index 52d155fe4c5..5daefde49ef 100644 --- a/srcpkgs/libgit2/template +++ b/srcpkgs/libgit2/template @@ -8,6 +8,8 @@ makedepends="zlib-devel libressl-devel" short_desc="The Git linkable library" maintainer="Juan RP " homepage="http://libgit2.github.com/" +update_site="https://github.com/libgit2/libgit2/tags" +update_pattern='archive/v?\K[\d.]+(?=\.tar\.gz)' license="GPL-2 with Linking Exception" do_fetch() {