Updating watch file to support XZ tarball format and non-numeric versions.
[debian/lxappearance.git] / debian / watch
index bf80b48..d8851c7 100644 (file)
@@ -1,2 +1,3 @@
 version=3
-http://sf.net/lxde/lxappearance-(.*)\.tar\.gz
+opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|beta|alpha)\d*)$/$1~$2/ \
+http://sf.net/lxde/lxappearance-(\d\S*)\.tar\.(?:xz|gz)