Skip to content

Commit

Permalink
add repo metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Dec 9, 2024
1 parent e2629db commit b241553
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,21 @@ $hash{AUTHOR} = 'PerlDL Developers <[email protected]>';

sub MY::postamble { pdlpp_postamble( $package ); }

WriteMakefile(%hash);
(my $repo = $package_name) =~ s#::#-#g;
$repo = "PDLPorters/$repo";
WriteMakefile(
META_MERGE => {
"meta-spec" => { version => 2 },
resources => {
homepage => 'http://pdl.perl.org/',
bugtracker => {web=>"https://github.com/$repo/issues"},
repository => {
url => "git://github.com/$repo.git",
type => 'git',
web => "https://github.com/$repo",
},
x_IRC => 'irc://irc.perl.org/#pdl',
},
},
%hash,
);

0 comments on commit b241553

Please sign in to comment.