# Automatically generated by apkbuild-cpan, template 3 # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=perl-test-output #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Test-Output pkgver=1.034 pkgrel=0 pkgdesc="Utilities to test STDOUT and STDERR messages." url="https://metacpan.org/release/Test-Output/" arch="noarch" license="Artistic-2.0" depends="perl perl-capture-tiny perl-sub-exporter" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Test-Output-$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=" f7e6a121dbcaa6644b5128ba27c70894775bcb77e5c4abb3a2546d935cb1a99b3190230b2be76161377d0151665ec97303c48746b224d1b2301803e6082b0283 Test-Output-1.034.tar.gz "