# watch control file for uscan
# you can run the "uscan" command
# to check for upstream updates and more.
# Full-site-with-pattern  [Version  [Action]]

version=4

opts="dversionmangle=s/(?:\.ds\d+)$//,uversionmangle=s/-\d+//;s/-(?=\D)/~/g;s/^\d+\.\d+\.\d+\K\.\d+//,repacksuffix=.ds7" \
  https://firebirdsql.org/en/firebird-3-0/ .*/[Ff]irebird-(3\.0\.\d+(?:\.\d+)?)(?:-0)?@ARCHIVE_EXT@

#opts=\
#  dversionmangle=s/(?:\.ds\d+)$//,uversionmangle=s/-\d+//;s/-(?=\D)/~/g;s/^\d+\.\d+\.\d+\K\.\d+//,repacksuffix=.ds7,\
#  filenamemangle=s%.*/@ANY_VERSION@%@PACKAGE@-$1.tar.gz%,\
#  downloadurlmangle=s%(api.github.com/repos/[^/]+/[^/]+)/git/refs/%$1/tarball/refs/%g,\
#  searchmode=plain \
#  https://api.github.com/repos/FirebirdSQL/firebird/git/matching-refs/tags/v3 \
#  https://api.github.com/repos/[^/]+/[^/]+/git/refs/tags/@ANY_VERSION@
