#!/usr/bin/env perl use Module::Build; my $home = $ENV{HOME}; my $build = Module::Build->new( module_name => 'Exd', license => 'AGPLv3', dist_author => 'Sergio Iglesias ', dist_abstract => 'Program your thermal printer.', requires => { 'Moo' => 0, 'IO::File' => 0, 'Glib' => 0, 'Glib::IO' => 0, 'Glib::Object::Introspection' => 0, 'JSON' => 0, 'DBI' => 0, 'DBD::SQLite' => 0, 'Path::Tiny' => 0, 'Net::Bluetooth' => 0, 'Mojolicious' => 0, 'Pango' => 0, 'Device::SerialPort' => 0, 'Archive::Zip' => 0, 'GD::Image' => 0, 'Net::DBus' => 0, 'UUID::URandom' => 0, 'Capture::Tiny' => 0, 'Class::Load' => 0, 'aliased' => 0, 'Carp::Always' => 0, 'IO::Socket::SSL' => 0, 'Scalar::Util::Numeric' => 0, 'GD::Barcode::QRcode' => 0, }, extra_linker_flags => [ '-lfontconfig', '-lfreetype' ], extra_compiler_flags => [ split /\s/, (`pkg-config --cflags gio-2.0 glib-2.0`) ], test_requires => { 'Test::MockModule' => 0, 'Test::Most' => 0, 'Test::MockObject' => 0, } ); $build->create_build_script;