X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/4495cd37a803d1de6cb9d7d434ced5e72d773b2d..ae5db3d778cf95b6bd950e93774a00e43c298c97:/debian/watch diff --git a/debian/watch b/debian/watch index 68c1d1e..78bd69c 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*$//" \ +https://github.com/rg3/youtube-dl/releases \ + (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate