X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/d1a5eac72c0b1116e8efbbf50766d8d00678f5c8..ff48920ff0d29557ad28d3353d596d7a335eb97b:/debian/watch?ds=sidebyside

diff --git a/debian/watch b/debian/watch
index 2b1a44a..861fcce 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,4 @@
-version=3
-opts=dversionmangle=s/\+dfsg\d*$// \
-http://youtube-dl.org/downloads/(\d.*)/youtube-dl-(:?.*)\.tar\.gz
+version=4
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%youtube-dl-$1.tar.gz%,dversionmangle=s/\+dfsg\d*$//,pgpsigurlmangle=s/$/.sig/" \
+https://github.com/rg3/youtube-dl/releases \
+     (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate