# Automatically generated by apkbuild-cpan, template 4 # Contributor: Sheila Aman # Maintainer: Sheila Aman pkgname=perl-mozilla-ca pkgver=20240313 pkgrel=0 #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Mozilla-CA pkgdesc="Mozilla's CA cert bundle in PEM format" url="https://metacpan.org/release/Mozilla-CA/" arch="noarch" license="MPL-2.0" depends="perl" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/L/LW/LWP/Mozilla-CA-$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 \ NO_PACKLIST=1 \ NO_PERLLOCAL=1 make } check() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make test } package() { make DESTDIR="$pkgdir" install } sha512sums=" b5666f30a483e0abeb04182d8c02e8d3c3457672debf628152f3566ed7f5fc4942d7ac186b14802cd549d35abe2fc93cd505373d8a9af77fee57a2948d9a4984 Mozilla-CA-20240313.tar.gz "