qjson: extract update_* to external update file

This commit is contained in:
Eivind Uggedal 2015-01-15 11:16:46 +00:00
parent badc0245be
commit d920ad78b4
2 changed files with 2 additions and 2 deletions

View file

@ -8,8 +8,6 @@ makedepends="qt-devel"
short_desc="A QT-based library that maps JSON data to QVariant objects"
maintainer="Juan RP <xtraeme@gmail.com>"
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() {

2
srcpkgs/qjson/update Normal file
View file

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