debian/watch: Adapt to the tags on github

It will download the upstream package as e.g.
jamulus-r3_5_3.tar.gz (respecting upstream versioning)
and link as jamulus_3.5.3.orig.tar.gz

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
This commit is contained in:
Tormod Volden 2020-05-15 23:42:45 +02:00
parent 7c136aef92
commit 4a2dcb7a8c
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
version=4
# GitHub hosted projects
opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \
opts=uversionmangle=s%_%.%g,filenamemangle=s%(?:.*?)?(r\d[\d_]*)\.tar\.gz%@PACKAGE@-$1.tar.gz% \
https://github.com/corrados/jamulus/tags \
(?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate
(?:.*?/)?r(\d[\d_]*)\.tar\.gz debian uupdate