Updating watch file to support XZ tarball format and non-numeric versions.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Wed, 1 Oct 2014 00:04:31 +0000 (03:04 +0300)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Wed, 1 Oct 2014 00:04:31 +0000 (03:04 +0300)
debian/watch

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