summaryrefslogtreecommitdiffstats
path: root/debian/watch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/watch')
-rw-r--r--debian/watch10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..afd59d4
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,10 @@
+version=4
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \
+ https://github.com/rnpgp/rnp/tags \
+ (?:.*?/)?v?(\d[\d.]*)\.tar\.gz
+# rnp now uses submodules upstream, but they might move to libsexpp as
+# a separate linked library.
+# if they continue with the submodules, we probably need to fetch the
+# upstream "release", not just the tag.
+# we might need to use the kind of mangling suggested by David Steele in
+# https://bugs.debian.org/1019696#30