-version=3
-opts=dversionmangle=s/\+dfsg\d+$// \
- http://githubredir.debian.net/github/rg3/youtube-dl (?:.*/)?(\d+\.\d+\.\d+)\.tar\.gz
+version=4
+opts="dversionmangle=s/\+dfsg\d*$//,pgpsigurlmangle=s/$/.sig/" \
+https://github.com/rg3/youtube-dl/releases \
+ (?:.*?/)?v?youtube-dl-(\d[\d.]*)\.tar\.gz debian uupdate