# The links on https://github.com/CGAL/cgal/tags point to an HTML page per
# release. The "downloadurlmangle" option is used to transform these links
# into the file URL. The "filenamemangle" option is used to transform these
# links into the local filename.

version=4

opts="\
    downloadurlmangle=s|/tag/v(.*)|/download/v$1/CGAL-$1.tar.xz|, \
    filenamemangle=s|.*/v(.*)|cgal_$1.orig.tar.xz|" \
https://github.com/CGAL/cgal/tags \
    /CGAL/cgal/releases/tag/v(\d[\d.]*) debian uupdate
