# Automatically generated by apkbuild-cpan, template 3 # Contributor: Timothy Legge # Maintainer: Timothy Legge pkgname=perl-test-mock-furl #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Test-Mock-Furl pkgver=0.05 pkgrel=1 pkgdesc="Mocks Furl for testing" url="https://metacpan.org/release/Test-Mock-Furl/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl perl-furl perl-test-mockobject" makedepends="perl-test-allmodules perl-module-build" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/B/BA/BAYASHI/Test-Mock-Furl-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') perl Build.PL --installdirs=vendor ./Build } check() { ./Build test } package() { ./Build install --destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="1622413a70d73388c9752bc99e7041047a6d2924ddbba8d9a56608834c3f7eecc672045c4c4763e83244ef6e193e00673159b24231ee24e6e2918c590201b826 Test-Mock-Furl-0.05.tar.gz"