libgit2: extract update_* to external update file
This commit is contained in:
parent
23ff86d81a
commit
063e42b654
@ -8,8 +8,6 @@ makedepends="zlib-devel libressl-devel>=2.1.2"
|
|||||||
short_desc="The Git linkable library"
|
short_desc="The Git linkable library"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://libgit2.github.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"
|
license="GPL-2 with Linking Exception"
|
||||||
|
|
||||||
do_fetch() {
|
do_fetch() {
|
||||||
|
2
srcpkgs/libgit2/update
Normal file
2
srcpkgs/libgit2/update
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
site="https://github.com/libgit2/libgit2/tags"
|
||||||
|
pattern='archive/v?\K[\d.]+(?=\.tar\.gz)'
|
Loading…
x
Reference in New Issue
Block a user