summaryrefslogtreecommitdiff
path: root/debian/watch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/watch')
-rw-r--r--debian/watch8
1 files changed, 5 insertions, 3 deletions
diff --git a/debian/watch b/debian/watch
index 02b76b1..4e274a8 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,5 @@
-version=3
-opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/ufo-filters-$1.tar.gz/ \
- https://github.com/ufo-kit/ufo-filters/tags .*/v?(\d\S*)\.tar\.gz \ No newline at end of file
+version=4
+opts="dversionmangle=s/\+dfsg\d*$//,repacksuffix=+dfsg1,\
+ filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%ufo-filters-$1.tar.gz%" \
+ https://github.com/ufo-kit/ufo-filters/tags \
+ (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate