summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMark Hindley <mark@hindley.org.uk>2018-11-02 12:58:29 +0000
committerMark Hindley <mark@hindley.org.uk>2018-11-02 12:58:29 +0000
commit0028f6acdd5bf0afecaeec98b5750977cb11fe71 (patch)
tree400da37f1dafe1da593d76f7098999af55c6c461 /debian
parentc0a77c80941455867fc6d5fb633e3b0101e9379a (diff)
Add upstream watch file.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog1
-rw-r--r--debian/watch10
2 files changed, 11 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 597c284b6..41bbe7416 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
elogind (239.1-2) unstable; urgency=medium
* Update to Standards version 4.2.1 (no changes).
+ * Add upstream watchfile.
--
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 000000000..fda9f7dad
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,10 @@
+# watch control file for uscan
+# See uscan(1) for format
+
+version=3
+
+# For GitHub projects you can use the tags or releases page. Since the archive
+# URLs use only the version as the name, it is recommended to use a
+# filenamemangle to adjust the name of the downloaded file:
+opts="filenamemangle=s/(?:.*)?v?(\d[\d\.]*)\.tar\.gz/elogind-$1.tar.gz/" \
+ https://github.com/elogind/elogind/tags (?:.*/)?v?(\d[\d\.]*)\.tar\.gz