# Maintainer: Alexey Pavlov _realname=Mozilla-CA pkgname=perl-${_realname} pkgver=20250602 pkgrel=1 pkgdesc="Mozilla's CA cert bundle in PEM format" arch=('any') license=('GPL2' 'LGPL2.1') options=(!emptydirs) depends=('perl>=5.006') url="https://metacpan.org/dist/Mozilla-CA" msys2_references=( 'purl: pkg:cpan/LWP/Mozilla-CA' ) groups=('perl-modules') source=("https://cpan.metacpan.org/authors/id/L/LW/LWP/Mozilla-CA-${pkgver}.tar.gz") sha256sums=('adeac0752440b2da094e8036bab6c857e22172457658868f5ac364f0c7b35481') build() { cd ${_realname}-${pkgver} export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps unset PERL5LIB PERL_MM_OPT /usr/bin/perl Makefile.PL make } check() { cd ${_realname}-${pkgver} export PERL_MM_USE_DEFAULT=1 unset PERL5LIB make test } package() { cd ${_realname}-${pkgver} make install INSTALLDIRS=vendor DESTDIR="$pkgdir" }