Updating watch file to support XZ tarball format and non-numeric versions.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Mon, 1 Sep 2014 15:47:33 +0000 (18:47 +0300)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Mon, 1 Sep 2014 15:47:33 +0000 (18:47 +0300)
debian/watch

index 8d79073..da830a3 100644 (file)
@@ -1,2 +1,3 @@
 version=3
-http://sf.net/lxde/lxde-common-(.*)\.tar\.(?:gz|bz2)
+opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|beta|alpha)\d*)$/$1~$2/ \
+http://sf.net/lxde/lxde-common-(\d\S*)\.tar\.(?:xz|gz)