# Automatically generated by apkbuild-cpan, template 3 # Contributor: Stuart Cardall # Maintainer: Stuart Cardall pkgname=perl-par-packer #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=PAR-Packer pkgver=1.059 pkgrel=0 pkgdesc="App::Packer::Backend interface, for generating stand-alone executables, perl scripts and PAR files" url="https://metacpan.org/release/PAR-Packer/" arch="all" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl-archive-zip perl-par perl-module-scandeps perl-getopt-argvfile perl-par-dist" makedepends="perl-dev" checkdepends="perl-ipc-run3" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/PAR-Packer-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor make } check() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums=" 0026720ca30682dab50fc92d820dc12cffd090e3bcd568fb6d7764f40e3c50c2f7578aaa1a62f01a29d0669cc4435f30da56b12516e813cec080e4a1dad204f2 PAR-Packer-1.059.tar.gz "