From 063e42b654d3fb028c1ba367e4e664e4a61d4da9 Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Thu, 15 Jan 2015 11:16:56 +0000 Subject: [PATCH] libgit2: extract update_* to external update file --- srcpkgs/libgit2/template | 2 -- srcpkgs/libgit2/update | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/libgit2/update diff --git a/srcpkgs/libgit2/template b/srcpkgs/libgit2/template index f42c205516..c08509fbec 100644 --- a/srcpkgs/libgit2/template +++ b/srcpkgs/libgit2/template @@ -8,8 +8,6 @@ makedepends="zlib-devel libressl-devel>=2.1.2" 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() { diff --git a/srcpkgs/libgit2/update b/srcpkgs/libgit2/update new file mode 100644 index 0000000000..537536a15c --- /dev/null +++ b/srcpkgs/libgit2/update @@ -0,0 +1,2 @@ +site="https://github.com/libgit2/libgit2/tags" +pattern='archive/v?\K[\d.]+(?=\.tar\.gz)'