]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - debian/watch
debian/rules: Adapt to new upstream build system.
[youtubedl] / debian / watch
index 68c1d1e31149d27936ccc9a8b939f286d960889d..78bd69c5a6592d6ca8e91c5f087e11354ee0c9e5 100644 (file)
@@ -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