# -*- mode: conf -*-
version=4
opts="filenamemangle=s%.*/@ANY_VERSION@%@PACKAGE@-$1.tar.gz%, \
      downloadurlmangle=s%api.github.com/repos/([^/]+/[^/]+)/git/refs/tags/@ANY_VERSION@%github.com/$1/archive/refs/tags/$2.tar.gz%g, \
      searchmode=plain, \
      dversionmangle=s/^22.01\+really//; s/\+dfsg$//, \
      oversionmangle=s/^/22.01+really/;  s/$/+dfsg/, \
      pgpmode=none" \
https://api.github.com/repos/ip7z/7zip/git/matching-refs/tags/ \
  https://api.github.com/repos/[^/]+/[^/]+/git/refs/tags/@ANY_VERSION@
