aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarDaniel Baumann <daniel@debian.org>2025-04-23 08:03:39 +0200
committerLibravatarDaniel Baumann <daniel@debian.org>2025-04-23 08:07:21 +0200
commit2f28da0dd53301b5fa2c5dc9f1b308ebf7648b3a (patch)
tree74ae5d18f6f704282a4c00acac5a1a49c0c18dc4
parent0b778882da4a6bc7bbffbbd481f09c86d228fa5b (diff)
Simplifying watch file.
Signed-off-by: Daniel Baumann <daniel@debian.org>
-rw-r--r--debian/watch6
1 files changed, 2 insertions, 4 deletions
diff --git a/debian/watch b/debian/watch
index 8d652c5..8794ea2 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,3 @@
version=4
-opts="filenamemangle=s/.+\/deluge-?(\d\S+)\.tar\.gz/deluge-$1\.tar\.gz/, \
- uversionmangle=s/(\d)\.?((dev|rc)\d*)$/$1~$2/, \
- dversionmangle=s/\+\d\S+//" \
-https://github.com/deluge-torrent/deluge/tags .*/deluge-?(\d\S+)\.tar\.gz
+opts="dversionmangle=s/\+\d\S+//, uversionmangle=s/(\d)\.?(dev\d*)$/$1~$2/" \
+https://github.com/deluge-torrent/deluge/tags .*/deluge-?(\d.*)@ARCHIVE_EXT@