summaryrefslogblamecommitdiff
path: root/user/perl-mozilla-ca/APKBUILD
blob: c4b1601ad30b28d02e9bd8efac324cb6c3e142c7 (plain) (tree)
1
2
3
4
5
6
7
8
                                                  
                                                          
                       
                   
           

                               
               




                                                  
              

                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                         
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-mozilla-ca
_pkgreal=Mozilla-CA
_author=LWP
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=20230821
pkgrel=0
pkgdesc="Mozilla's CA certificate bundle for Perl"
url="https://metacpan.org/release/Mozilla-CA"
arch="noarch"
license="MPL-2.0-only"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="2393e8ddd54abbef37987c8bd883e9cd790ed8ad7b1411203c7796b1f0b52fcf7a19e3803c374e9e84bf4310d67e4736f12731c5ca1337f99bb659bdca126c3a  Mozilla-CA-20230821.tar.gz"