# Automatically generated by apkbuild-cpan, template 3 # Contributor: Timothy Legge # Maintainer: Timothy Legge pkgname=perl-test-mock-one #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Test-Mock-One pkgver=0.011 pkgrel=0 pkgdesc="Mock the world with one object" url="https://metacpan.org/release/Test-Mock-One/" arch="noarch" license="bsd" depends="perl" checkdepends="perl-test-deep perl-test-exception" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/W/WA/WATERKIP/Test-Mock-One-$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=" 8948db737f9976e69cbbbbb374db5f0131f325e780a7ca32a860e89095a73ac2eafaefe87616b17b6793a708d451afe694153f69d05d420a391946871948a974 Test-Mock-One-0.011.tar.gz "