summaryrefslogtreecommitdiff
path: root/user/perl-mozilla-ca/APKBUILD
blob: b58ab7209db2b86779eca961b0947e33fbf8a5ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-mozilla-ca
_pkgreal=Mozilla-CA
_author=ABH
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=20211001
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="dc3d96de93b4b193861142afe5f8120a09faa0c105ba0cc2832e4d0c9f2611bbefa8046620a67267e6c374e5abde0ad829279f62acf8a7e411fd75c182745969  Mozilla-CA-20211001.tar.gz"