version=4
opts="uversionmangle=s/-(rc\d*)$/~$1/,pagemangle=s!"name":"(v?@ANY_VERSION@)"!<a href="https://gitlab.com/@PACKAGE@/@PACKAGE@/-/archive/$1/@PACKAGE@-$1.tar.bz2">!g" \
https://gitlab.com/api/v4/projects/@PACKAGE@%2F@PACKAGE@/repository/tags \
https://gitlab.com/@PACKAGE@/@PACKAGE@/.*/@PACKAGE@-v?@ANY_VERSION@@ARCHIVE_EXT@
