summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/watch16
1 files changed, 14 insertions, 2 deletions
diff --git a/debian/watch b/debian/watch
index 74e6e7b..00bf5ff 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,14 @@
-version=3
-http://sf.net/uriparser/uriparser-(.*)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+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