# This file was _NOT_ automatically generated by Dist::Zilla::Plugin::Alien v0.023.
use strict;
use warnings;
our $VERSION = 0.003_000;

use lib qw{inc};
use My::ModuleBuild;

my $builder = My::ModuleBuild->new(
    module_name        => 'Alien::astyle',
    dist_abstract      => 'Build & Install the Artistic Style Code Formatter',
    dist_author        => 'William N. Braswell, Jr. <wbraswell@cpan.org>',
    dist_version       => 0.001_000,
    license            => 'perl',
    configure_requires => {
        'Alien::Base::ModuleBuild' => 0.016,
        'Capture::Tiny'            => 0,
        'File::ShareDir'           => 1.03,
        'File::chdir'              => 0,
        'perl'                     => 5.008
    },
    test_requires        => {
        'Test::More' => "0.94",
        'perl'       => "5.006"
    },
    requires => {
        'perl'           => '5.8.0',
        'parent'         => 0,
        'Alien::Base'    => 0,
        'File::ShareDir' => 1.03,
    },
    alien_build_commands => [
        'make --directory=build/gcc'
    ],
    alien_install_commands => [
        'make --directory=build/gcc prefix=%s install'
    ],
    alien_name       => 'astyle',
    alien_repository => [
        {   protocol => 'http',
            host     => 'wbraswell.github.io',
            location => '/astyle-mirror/',
            pattern  => qr/astyle_([\d\.]+)_linux\.tar\.gz$/,
        },
    ],
    alien_stage_install => 1,
    meta_merge => {
        resources => {
            repository => 'https://github.com/wbraswell/alien-astyle',
            bugtracker => 'https://github.com/wbraswell/alien-astyle/issues',
        },
    },
    recursive_test_files => 1,
);
$builder->create_build_script;
