X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/248af00fe87853fba9d11c6d3e5a8aa6ff982d8a..3f49721bd802c357ee9e5c1b6f07e0b68ac47fc2:/debian/watch?ds=inline

diff --git a/debian/watch b/debian/watch
index 68c1d1e..7fdcd02 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,4 @@
-version=3
-#
-#http://bitbucket.org/rg3/youtube-dl/wiki/Home http://bitbucket.org/rg3/youtube-dl/raw/(.*)/youtube-dl
-#http://bitbucket.org/rg3/youtube-dl/get/(.*).gz
-#
-http://bitbucket.org/rg3/youtube-dl/downloads/ (?:.*/)?(\d+\.\d+\.\d+)\.tar\.gz
+version=4
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%youtube-dl-$1.tar.gz%,dversionmangle=s/\+dfsg\d*$//,pgpsigurlmangle=s/archive\/(\d\S+)\.tar\.gz/releases\/download\/$1\/youtube-dl-$1\.tar\.gz\.sig/" \
+https://github.com/rg3/youtube-dl/releases \
+     (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate