# Automatically generated by apkbuild-cpan, template 3 # Maintainer: Natanael Copa pkgname=perl-class-load #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Class-Load pkgver=0.25 pkgrel=4 pkgdesc="A working (require Class::Name) and more" url="https://metacpan.org/release/Class-Load/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends=" perl perl-data-optlist perl-module-runtime perl-module-implementation perl-try-tiny perl-package-stash " makedepends="perl-dev" checkdepends="perl-test-needs perl-test-fatal" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Class-Load-$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=" feacb4ae99358d3dc45b23b2d7cc814603e59a72424e7e0620d4939fa6d6206a1bb123c010b49013ce4764df11dc7c04fc1d7bd5783c61a391310bcb653e7ca4 Class-Load-0.25.tar.gz "