summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/watch5
1 files changed, 3 insertions, 2 deletions
diff --git a/debian/watch b/debian/watch
index ac388170..fc16d30f 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,4 @@
version=4
-https://download.gnome.org/sources/@PACKAGE@/([\d\.]+[02468])/ \
- @PACKAGE@@ANY_VERSION@\.tar\.xz
+opts="searchmode=plain, uversionmangle=s/\.(alpha|beta|rc)/~$1/" \
+https://download.gnome.org/sources/@PACKAGE@/cache.json \
+ [\d.]+/@PACKAGE@-([\d.]+)@ARCHIVE_EXT@
bgstack15