| 1 |
version=4 |
| 2 |
|
| 3 |
# GitHub has recently (9/22) changed the behavior of the releases page in a way |
| 4 |
# that breaks watch files [1]. This file works around that by looking for files on |
| 5 |
# the 'tags' page, then rewriting them to reference the expected file on the |
| 6 |
# 'releases' page, and then verifies using the corresponding signature file. |
| 7 |
# |
| 8 |
# [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019696 |
| 9 |
|
| 10 |
# This snippet is inspired by what was done in the Sirikali package. |
| 11 |
|
| 12 |
opts=downloadurlmangle=s/archive\/refs\/tags\/(.*)\.tar\.gz/releases\/download\/$1\/@PACKAGE@-$1\.tar\.xz/,\ |
| 13 |
pgpsigurlmangle=s/$/.asc/ \ |
| 14 |
https://github.com/Malizor/@PACKAGE@/tags \ |
| 15 |
/Malizor/@PACKAGE@/archive/refs/tags/(.*)\.tar\.gz |