How to create META.json using Module::Build and how to link to the VCS?

Gabor Szabo <[email protected]> Thu, 3 Jan 2013 13:04:33 +0200
Newsgroups gmane.comp.lang.perl.modules.module-build
Message-ID <CABe4FJApb==AJgt-RxwZQaOKmRAUBN6VAE1jdgjXA=FgPZmf4w@mail.gmail.com>
Hi,

recently I wrote an article how people could include a link to their
version control system in the META.yml file.
http://perl5maven.com/how-to-add-link-to-version-control-system-of-a-cpan-distributions

After getting a few comments I found out that beside the link to the
repository one could also include the type of
the repository (git/svn/etc...), but as far as I can see only
META.json holds that information.
At least in the distributions I checked only META.json had this.
All these distributions were generated using Dist::Zilla.

So I wonder how can ask Module::Build to generate META.json as well,
and how can I tell it
to include the other fields of the repository as well?

regards
   Gabor