debian/watch: point to GitHub instead of SourceForge.
authorgregor herrmann <gregoa@debian.org>
Sun, 13 Dec 2015 16:18:19 +0000 (17:18 +0100)
committergregor herrmann <gregoa@debian.org>
Sun, 13 Dec 2015 16:18:19 +0000 (17:18 +0100)
debian/watch

index 33a69ce..92c94af 100644 (file)
@@ -1,4 +1,7 @@
 version=3
-opts="dversionmangle=s/\+(dfsg|ds)$//;,uversionmangle=s/(\D)$/${1}1/;s/b(?:eta)?(\d)?$/~beta${1}/" \
-       http://sf.net/jabref/JabRef-(.+)-src\.tar\.bz2 \
+
+opts="dversionmangle=s/\+(dfsg|ds)$//;,\
+       uversionmangle=s/(\D)$/${1}1/;s/b(?:eta)?(\d)?$/~beta${1}/,\
+       filenamemangle=s/(?:.*?)?v?(\d[\d.]*)\.tar\.gz/jabref-$1.tar.gz/" \
+       https://github.com/JabRef/jabref/tags (?:.*?/)?v?(\d[\d.]*)\.tar\.gz \
        debian sh debian/repack.stub