summaryrefslogtreecommitdiff
path: root/debian/watch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-09-08 15:06:35 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-09-08 15:06:35 +0200
commita63db856a3fd726d13b887b4e5e516377aa579ca (patch)
tree0d1959ae4ca6ef00a474bb56787f27441c2ab52a /debian/watch
parent27bdd9bc0fe7bac7c837fcd2a93bff34b20ecce5 (diff)
d/watch: Switch to gitlab
Diffstat (limited to 'debian/watch')
-rw-r--r--debian/watch8
1 files changed, 6 insertions, 2 deletions
diff --git a/debian/watch b/debian/watch
index 4ccb181..8b84ccf 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,9 @@
#
# watch file for sane-frontends
#
-version=3
-https://alioth.debian.org/frs/?group_id=30186 .*/sane-frontends-(.*).(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)
+version=4
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/ \
+https://gitlab.com/sane-project/frontends/tags \
+(?:.*?/)?(?:rel|v|sane-frontends)[\-\_]?(\d\S+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))