From d920ad78b4b85e5c65bb7bfd9e81eb86c4bd4497 Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Thu, 15 Jan 2015 11:16:46 +0000 Subject: [PATCH] qjson: extract update_* to external update file --- srcpkgs/qjson/template | 2 -- srcpkgs/qjson/update | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/qjson/update diff --git a/srcpkgs/qjson/template b/srcpkgs/qjson/template index 7e38f7e5d94..bf0a7fe7ac0 100644 --- a/srcpkgs/qjson/template +++ b/srcpkgs/qjson/template @@ -8,8 +8,6 @@ makedepends="qt-devel" short_desc="A QT-based library that maps JSON data to QVariant objects" maintainer="Juan RP " license="GPL-2" -update_site="https://github.com/flavio/qjson/tags" -update_pattern='/archive/\K[\d\.]+(?=\.tar\.gz")' homepage="http://qjson.sourceforge.net" do_fetch() { diff --git a/srcpkgs/qjson/update b/srcpkgs/qjson/update new file mode 100644 index 00000000000..6525c819eb5 --- /dev/null +++ b/srcpkgs/qjson/update @@ -0,0 +1,2 @@ +site="https://github.com/flavio/qjson/tags" +pattern='/archive/\K[\d\.]+(?=\.tar\.gz")'