debian/watch
raw| 1 | Version: 5 |
| 2 | |
| 3 | # Upstream releases official Autotools 'make dist' tarballs, so we use |
| 4 | # those in preference to git tags |
| 5 | Source: https://github.com/lathiat/@PACKAGE@/tags |
| 6 | Matching-Pattern: .*/releases/tag/v?@ANY_VERSION@ |
| 7 | Compression: gzip |
| 8 | Download-Url-Mangle: s#/tag/#/download/#;s#(v?@ANY_VERSION@)$#$1/@PACKAGE@-$2.tar.gz# |
| 9 | Dversion-Mangle: s/\+(?:git)?[0-9]*(?:\+g[0-9a-f]*)// |
| 10 | Filename-Mangle: s#v?@ANY_VERSION@#@PACKAGE@-$1.tar.gz# |