]> git.decadent.org.uk Git - maypole.git/blobdiff - debian/watch
Added uscan watch-file.
[maypole.git] / debian / watch
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..e7e2c2b
--- /dev/null
@@ -0,0 +1,7 @@
+version=3
+# Versions appear to be decimal, so when there are three digits in the
+# minor number prepend the version truncated to two minor digits.
+# Change pre-release versions to Debian format.
+opts="uversionmangle=s/^(\d+\.\d\d)\d(?:_|$)/$1+$&/; s/_pre/~pre/" \
+http://search.cpan.org/~teejay/Maypole/ \
+/CPAN/authors/id/T/TE/TEEJAY/Maypole-([\w.]+)\.tar\.gz