From c5093e96756c97b8f7e0394087aa59212559bf1c Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Thu, 15 Jan 2015 11:16:47 +0000 Subject: [PATCH] ninja: extract update_* to external update file --- srcpkgs/ninja/template | 2 -- srcpkgs/ninja/update | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/ninja/update diff --git a/srcpkgs/ninja/template b/srcpkgs/ninja/template index d8d589335a7..4adc7dc1bd3 100644 --- a/srcpkgs/ninja/template +++ b/srcpkgs/ninja/template @@ -6,8 +6,6 @@ hostmakedepends="python asciidoc git" short_desc="Small build system with a focus on speed" maintainer="Juan RP " 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() { diff --git a/srcpkgs/ninja/update b/srcpkgs/ninja/update new file mode 100644 index 00000000000..b46171ff8b4 --- /dev/null +++ b/srcpkgs/ninja/update @@ -0,0 +1,2 @@ +site="https://github.com/martine/ninja/tags" +pattern='archive/v\K[\d.]+(?=\.tar\.gz)'