Version: 5
# qpdf releases are based on artifacts that are explicitly uploaded rather than
# the source releases GitHub creates, so the GitHub template won't work. This
# looks at the GitHub releases API's JSON output for the uploaded
# qpdf-<version>.tar.gz and manually adjusts.
#
# Source: https://github.com/qpdf/qpdf/releases/download/v$ver/qpdf-$ver.tar.gz
# Signature: $source.asc

Source: https://api.github.com/repos/qpdf/qpdf/releases
Search-Mode: plain
Matching-Pattern: https://github\.com/qpdf/qpdf/releases/download/[^"/]+/@PACKAGE@@ANY_VERSION@\.tar\.gz(?:(?=")|$)
Uversion-Mangle: s/(\d)\.([a-z].+)$/$1~$2/
Pgp-Mode: mangle
Pgp-Sig-Url-Mangle: s/$/.asc/
