aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-mozilla-ca/APKBUILD
blob: e132083848471a2d090e9ea7e7bf2f5d745ee672 (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
35
36
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=perl-mozilla-ca
_pkgreal=Mozilla-CA
pkgver=20200520
pkgrel=1
pkgdesc="Mozilla's CA cert bundle in PEM format"
url="https://metacpan.org/release/Mozilla-CA"
arch="noarch"
license="GPL PerlArtistic"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://search.cpan.org/CPAN/authors/id/A/AB/ABH/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	default_prepare

	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

build() {
	make
}

check() {
	make test
}

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

sha512sums="5bc7c43c55baa3f878fd2dbf1c85d6b20dcdc9e54ae073d1be4f6b808fa5a4b1205428b7967b5f752b31a62464a8b5cc67b32b3f70b834a4da9c39efe3d5d59f  Mozilla-CA-20200520.tar.gz"