summaryrefslogtreecommitdiffstats
path: root/debian/watch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/watch20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..defb046
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,20 @@
+version=4
+
+# ?pre=0 → only stable releases
+# ?pre=1 → only unstable releases
+# drop the ?pre for everything
+
+# main tarball
+opts=\
+pgpmode=next,\
+dversionmangle=auto, \
+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,\
+dversionmangle=auto, \
+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