| 1 | Version: 5 |
| 2 | |
| 3 | # Upstream releases official tarballs, so we use those in preference to |
| 4 | # git tags |
| 5 | Source: https://github.com/@PACKAGE@/@PACKAGE@/tags |
| 6 | Matching-Pattern: .*/releases/tag/v?(\d+\.\d+[02468]\.[-+.:~\da-zA-Z]*) |
| 7 | Compression: xz |
| 8 | Download-URL-Mangle: s#/tag/#/download/#;s#(v?@ANY_VERSION@)$#$1/@PACKAGE@-$2.tar.xz# |
| 9 | Dversion-Mangle: s/\+(?:git)?[0-9]+(?:\+g[0-9a-f]*)?//;s/[+~](?:dfsg|ds)[0-9]*// |
| 10 | Filename-Mangle: s#v?@ANY_VERSION@#@PACKAGE@-$1.tar.xz# |
| 11 | Repack-Suffix: +ds |