# Automatically generated by apkbuild-cpan, template 3 # Contributor: Timothy Legge # Maintainer: Timothy Legge pkgname=perl-www-mechanize-cached #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=WWW-Mechanize-Cached pkgver=1.56 pkgrel=1 pkgdesc="Cache response to be polite" url="https://metacpan.org/release/WWW-Mechanize-Cached/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends=" perl perl-www-mechanize perl-cache-cache perl-data-dump perl-moo perl-moox-types-mooselike perl-namespace-clean perl-module-runtime perl-libwww " checkdepends=" perl-uri perl-cache-cache perl-test-requiresinternet perl-http-message perl-path-tiny perl-chi perl-test-fatal perl-test-warnings perl-test-needs " subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/WWW-Mechanize-Cached-$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=" 946d3c22d7181a4571ea5201389bbc80e01d86372b1f8796c1fa3494972374fdf4597781d8db3acf98ed2e6e477b14446bbdfdd9487541fa7a173bcae3112b80 WWW-Mechanize-Cached-1.56.tar.gz "