]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - debian/watch
debian/patches: Add patch from upstream to fix extraction from youtube.
[youtubedl] / debian / watch
index 6234bc6378de815a3ef625b88e22b278f26a15fd..7fdcd020306de49f232c72fe5e1a24fe42a7dcdb 100644 (file)
@@ -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/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