diff --git a/srcpkgs/cppcheck/template b/srcpkgs/cppcheck/template index 37ba0a4416..085115ff4b 100644 --- a/srcpkgs/cppcheck/template +++ b/srcpkgs/cppcheck/template @@ -7,8 +7,6 @@ short_desc="Static analysis of C/C++ code" maintainer="Juan RP " license="GPL-2" homepage="http://cppcheck.sourceforge.net" -update_site="https://api.github.com/repos/danmar/cppcheck/tags" -update_pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")' do_fetch() { git clone -b ${version} git://github.com/danmar/cppcheck ${pkgname}-${version} diff --git a/srcpkgs/cppcheck/update b/srcpkgs/cppcheck/update new file mode 100644 index 0000000000..c46458e13a --- /dev/null +++ b/srcpkgs/cppcheck/update @@ -0,0 +1,2 @@ +site="https://api.github.com/repos/danmar/cppcheck/tags" +pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'