version=4

# The release asset, not a tag tarball: ryanoasis/nerd-fonts publishes one zip
# per font family and the git tag holds no patched faces at all. uscan repacks
# the zip to the xz orig tarball and drops everything Files-Excluded names.
opts=searchmode=plain,\
filenamemangle=s%.*/download/v?@ANY_VERSION@/VictorMono\.zip%@PACKAGE@-$1.zip%,\
uversionmangle=s/^v//,\
repack,compression=xz \
 https://api.github.com/repos/ryanoasis/nerd-fonts/releases?per_page=100 \
 .*/download/v?@ANY_VERSION@/VictorMono\.zip
