X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=debian%2Fwatch;fp=debian%2Fwatch;h=e7e2c2bad64e4616b423cc9d97ce8958c37570ad;hb=d6b3c47bfb7ad312db4aa93dd5cba4b8f160aaf5;hp=0000000000000000000000000000000000000000;hpb=83769a6653a8736141d035a8a963c6cc99970a17;p=maypole.git diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..e7e2c2b --- /dev/null +++ b/debian/watch @@ -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