1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
#!/usr/bin/perl
#
# Build script for the PGP::Sign distribution.
#
# Copyright 2018, 2020 Russ Allbery <rra@cpan.org>
#
# This program is free software; you may redistribute it and/or modify it
# under the same terms as Perl itself.
#
# SPDX-License-Identifier: GPL-1.0-or-later OR Artistic-1.0-Perl
use 5.020;
use autodie;
use strict;
use warnings;
use Module::Build;
# Basic package configuration.
my $build = Module::Build->new(
module_name => 'PGP::Sign',
dist_author => 'Russ Allbery <rra@cpan.org>',
license => 'perl',
recursive_test_files => 1,
add_to_cleanup =>
[qw(MANIFEST.bak cover_db t/data/random_seed t/data/trustdb.gpg)],
# Add additional package metadata.
meta_merge => {
'meta-spec' => { version => '2' },
resources => {
bugtracker => {
mailto => 'bug-PGP-Sign@rt.cpan.org',
web => 'https://rt.cpan.org/Dist/Display.html?Name=PGP-Sign',
},
homepage => 'https://www.eyrie.org/~eagle/software/pgp-sign',
repository => {
url => 'https://github.com/rra/pgp-sign.git',
web => 'https://github.com/rra/pgp-sign',
type => 'git',
},
},
},
# Other package relationships.
configure_requires => { 'Module::Build' => 0.28 },
requires => {
'IPC::Run' => 0,
'perl' => '5.020',
},
);
# Generate the build script.
$build->create_build_script();
|