diff --git a/debian/watch b/debian/watch index ac388170..2f3c7707 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="uversionmangle=s/\.(alpha|beta|rc)/~$1/" \ +https://download.gnome.org/sources/@PACKAGE@/@ANY_VERSION@/ \ +@PACKAGE@@ANY_VERSION@\.tar\.xz