ninja: extract update_* to external update file

This commit is contained in:
Eivind Uggedal 2015-01-15 11:16:47 +00:00
parent 421600c81f
commit c5093e9675
2 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,6 @@ hostmakedepends="python asciidoc git"
short_desc="Small build system with a focus on speed"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Apache-2.0"
update_site="https://github.com/martine/ninja/tags"
update_pattern='archive/v\K[\d.]+(?=\.tar\.gz)'
homepage="http://martine.github.io/ninja/"
do_fetch() {

2
srcpkgs/ninja/update Normal file
View File

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