version=4
opts=\
 downloadurlmangle=s/\/releases\/tag\/(\d\S+)$/\/archive\/$1\.tar\.gz/,\
 filenamemangle=s/.+\/tag\/(\d\S+)$/foot-$1\.tar\.gz/ \
https://codeberg.org/dnkl/foot/releases .*/releases/tag/(\d\S+)
