summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Barenblat <bbaren@debian.org>2021-01-11 18:08:39 -0500
committerBenjamin Barenblat <bbaren@debian.org>2021-01-11 18:08:39 -0500
commitcc7bf1876e0dcbf1c302e0a9873eac6a7a44010b (patch)
treeedbef3b1ce1dc2692a672194b95fba536883805c
parent1f0fd42efc02e97508b165782b1e1b2b7cd85857 (diff)
Update debian/watch for version=4
-rw-r--r--debian/watch7
1 files changed, 4 insertions, 3 deletions
diff --git a/debian/watch b/debian/watch
index 80043dc..e93f1b1 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,4 @@
-version=3
-opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/transmission-remote-gtk-$1\.tar\.gz/ \
- https://github.com/transmission-remote-gtk/transmission-remote-gtk/tags .*/v?(\d\S+)\.tar\.gz
+version=4
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \
+ https://github.com/transmission-remote-gtk/transmission-remote-gtk/tags \
+ (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate