# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v6.032.
use strict;
use warnings;

use Module::Build 0.28;


my %module_build_args = (
  "build_requires" => {
    "Module::Build" => "0.28"
  },
  "configure_requires" => {
    "Module::Build" => "0.28"
  },
  "dist_abstract" => "Copy and paste with any OS",
  "dist_author" => [
    "Shlomi Fish <shlomif\@cpan.org>"
  ],
  "dist_name" => "Clipboard",
  "dist_version" => "0.31",
  "license" => "perl",
  "module_name" => "Clipboard",
  "recursive_test_files" => 1,
  "requires" => {
    "CGI" => 0,
    "File::Spec" => 0,
    "File::Temp" => 0,
    "IPC::Open2" => 0,
    "URI::Escape" => 0,
    "strict" => 0,
    "warnings" => 0
  },
  "script_files" => [
    "scripts/clipaccumulate",
    "scripts/clipbrowse",
    "scripts/clipedit",
    "scripts/clipfilter",
    "scripts/clipjoin"
  ],
  "test_requires" => {
    "Test::More" => "0.88",
    "lib" => 0
  }
);


my %fallback_build_requires = (
  "Module::Build" => "0.28",
  "Test::More" => "0.88",
  "lib" => 0
);


unless ( eval { Module::Build->VERSION(0.4004) } ) {
  delete $module_build_args{test_requires};
  $module_build_args{build_requires} = \%fallback_build_requires;
}

if ( $^O =~ /darwin/i ) {
	$module_build_args{requires}{'Mac::Pasteboard'} = '0.011';
}

if ( $^O eq 'MSWin32' ) {
	$module_build_args{requires}{'Win32::Clipboard'} = '0';
}

if ( $^O eq 'cygwin' ) {
	$module_build_args{requires}{'Win32::Clipboard'} = '0';
}

my $build = Module::Build->new(%module_build_args);


$build->create_build_script;