version=4
# The release tarballs are assets of the GitLab releases.
opts="searchmode=plain,uversionmangle=s/-(rc\d+)/~$1/" \
  https://gitlab.ibr.cs.tu-bs.de/api/v4/projects/nm%2Flibsmi/releases \
  https://gitlab.ibr.cs.tu-bs.de/nm/libsmi/-/releases/v[^/]+/downloads/libsmi-@ANY_VERSION@\.tar\.xz
