summaryrefslogtreecommitdiffstats
path: root/debian/watch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/watch')
-rw-r--r--debian/watch18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..9315cba
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,18 @@
+version=4
+
+# ?pre=0 → only stable releases
+# ?pre=1 → only unstable releases
+# drop the ?pre for everything
+
+# main tarball
+opts=\
+pgpmode=next,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/ \
+https://inkscape.org/release/all/source/archive/?pre=0 \
+(?:.*/)?@PACKAGE@@ANY_VERSION@(?:_.*)?@ARCHIVE_EXT@
+
+# find the signature
+opts=pgpmode=previous,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/ \
+https://inkscape.org/release/all/source/archive/?pre=0 \
+(?:.*/)?@PACKAGE@@ANY_VERSION@(?:_.*)?@SIGNATURE_EXT@ previous