-version=3
-opts=dversionmangle=s/\+dfsg\d*$// \
-https://github.com/rg3/youtube-dl/tags .*/(?:v||youtube-dl-)(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))
+version=4
+opts="dversionmangle=s/\+dfsg\d*$//,pgpsigurlmangle=s/$/.sig/" \
+https://github.com/ytdl-org/youtube-dl/releases \
+ (?:.*?/)?v?youtube-dl-(\d[\d.]*)\.tar\.gz debian uupdate