summaryrefslogtreecommitdiff
path: root/debian/watch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-07-08 13:44:19 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-07-08 13:44:19 +0200
commita26a2b4bff165cbf2ec9ad60be227f13c5f8a38c (patch)
treee0dda287534fb7cb6855c17c5c6b4268c8921e75 /debian/watch
parent38e3ad3f3688a2633d3abb8a1415e4a812ca2294 (diff)
Rewrite debian/watch for gitlab
Diffstat (limited to 'debian/watch')
-rw-r--r--debian/watch6
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/watch b/debian/watch
index 2207322..a3e79c0 100644
--- a/debian/watch
+++ b/debian/watch
@@ -2,4 +2,8 @@
# watch file for sane-backends
#
version=4
-https://alioth.debian.org/frs/?group_id=30186 .*/sane-backends-(.*).(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)
+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/backends/tags \
+(?:.*?/)?(?:rel|v|sane-backends)[\-\_]?(\d\S+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))