diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/watch | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/debian/watch b/debian/watch index 00bf5ff..5641bc5 100644 --- a/debian/watch +++ b/debian/watch @@ -1,14 +1,4 @@ version=4 -#http://sf.net/uriparser/uriparser-(.*)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) -#opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/uriparser-$1\.tar\.gz/ \ -# https://github.com/uriparser/uriparser/tags (\d\S+)\.tar\.gz - -#opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/uriparser-$1\.tar\.gz/ \ -# https://github.com/uriparser/uriparser/tags .*/?(\d{1}\.\d.\d)\.tar\.gz -https://github.com/uriparser/uriparser/releases /uriparser/uriparser/archive/(.+)\.tar\.gz - -#opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/<project>-$1\.tar\.gz/ \ -# https://github.com/<user>/<project>/tags .*/?(\d{1}\.\d.\d)\.tar\.gz - -#opts=filenamemangle=s/.+\/?(\d\S+)\.tar\.gz/uriparser-$1\.tar\.gz/ \ -# https://github.com/uriparser/uriparser/tags .*/?(\d\S+)\.tar\.gz +opts=uversionmangle=s/_/./g;s/\.(rc\d*)$/~$1/ \ + https://github.com/uriparser/uriparser/releases \ + .*[^n]/(?:|v|version-|version|release-|r|REL_|rel-|uriparser(?:_|-))(\d[^\s/]*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz) |