Version: 5

# Release 0.64.8 has no git tag upstream: it is commit cc3a2f59 of
# https://github.com/vsch/flexmark-java (2023-05-23, the date Maven Central
# published 0.64.8). The releases are therefore taken from Maven Central
# (directory listing of the parent POM, one directory per release) and
# downloaded from GitHub: the release tag when upstream made one, and the
# commit above for 0.64.8 (first rule). See debian/README.source.
Source: https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-java/
Matching-Pattern: (\d+\.\d+\.\d+)/
Download-Url-Mangle: s%^.*/0\.64\.8/$%https://github.com/vsch/flexmark-java/archive/cc3a2f59ba6e532833f4805f8134b4dc966ff837.tar.gz%;s%^.*/(\d+\.\d+\.\d+)/$%https://github.com/vsch/flexmark-java/archive/refs/tags/$1.tar.gz%
Filename-Mangle: s%^.*?(\d+\.\d+\.\d+)/$%flexmark-java-$1.tar.gz%
Dversion-Mangle: auto
Repack: yes
Repacksuffix: +ds
Compression: xz
