From: Rogério Brito Date: Fri, 24 Jun 2016 23:54:19 +0000 (-0300) Subject: debian/watch: Update for version 4. X-Git-Url: https://git.rapsys.eu/youtubedl/commitdiff_plain/c88bbf35d54fd7e1470ff5d2823a7f8a1013ac9c?ds=sidebyside debian/watch: Update for version 4. --- diff --git a/debian/watch b/debian/watch index 6234bc6..861fcce 100644 --- a/debian/watch +++ b/debian/watch @@ -1,3 +1,4 @@ -version=3 -opts=dversionmangle=s/\+dfsg\d*$//,pgpsigurlmangle=s/$/.sig/ \ -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