# 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/(.*)%2F(.*)|/download/$1%2F$2/$2.tar.xz|, \
    filenamemangle=s|.*%2FCGAL-(.*)|cgal_$1.orig.tar.xz|" \
https://github.com/CGAL/cgal/tags \
    /CGAL/cgal/releases/tag/releases%2FCGAL-(\d[\d.]*) debian uupdate
