summaryrefslogtreecommitdiffstats
path: root/debian/watch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/watch')
-rw-r--r--debian/watch17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..c3dd3ba
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,17 @@
+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 \
+https://inkscape.org/release/all/source/archive/?pre=0 \
+(?:.*/)?@PACKAGE@@ANY_VERSION@(?:_.*)?@SIGNATURE_EXT@ previous