libgit2: extract update_* to external update file

This commit is contained in:
Eivind Uggedal 2015-01-15 11:16:56 +00:00
parent 23ff86d81a
commit 063e42b654
2 changed files with 2 additions and 2 deletions

View file

@ -8,8 +8,6 @@ makedepends="zlib-devel libressl-devel>=2.1.2"
short_desc="The Git linkable library"
maintainer="Juan RP <xtraeme@gmail.com>"
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() {

2
srcpkgs/libgit2/update Normal file
View file

@ -0,0 +1,2 @@
site="https://github.com/libgit2/libgit2/tags"
pattern='archive/v?\K[\d.]+(?=\.tar\.gz)'