summaryrefslogtreecommitdiff
path: root/debian/watch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/watch')
-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