Version: 5

# The auto-generated GitHub tag tarballs carry hexdig/ as an empty directory
# (it is a git submodule), so the package cannot be built from them. Upstream
# attaches a complete tarball, hexwalk-<version>.tar.gz, to each release.
# The HTML releases page no longer lists assets, so ask the GitHub API.
Source: https://api.github.com/repos/gcarmix/hexwalk/releases?per_page=50
Matching-Pattern: https://github.com/[^/]+/[^/]+/releases/download/v?[\d.]+/hexwalk-(\d[\d.]*)\.tar\.gz
Dversionmangle: s/\+ds\d*$//
Filenamemangle: s%.*/hexwalk-(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%
Repacksuffix: +ds
Searchmode: plain
