aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-mozilla-ca/APKBUILD
blob: df3cc2f78c6560691c79dfa8bd5c7c4a05c03e2e (plain)
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
37
38
39
# 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=20150826
pkgrel=0
pkgdesc="Mozilla's CA cert bundle in PEM format"
url="http://search.cpan.org/dist/Mozilla-CA/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/A/AB/ABH/$_pkgreal-$pkgver.tar.gz"

_builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	cd "$_builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

build() {
	cd "$_builddir"
	make && make test
}

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

md5sums="52de059194004192345687f7a2f88224  Mozilla-CA-20150826.tar.gz"
sha256sums="c159d134175db0723a347649961a8f83769d4e20e76e55e040286e1099f71369  Mozilla-CA-20150826.tar.gz"
sha512sums="14ca46bd240dba9d41697ad65d22562d2b86fc81ac40dbbbe51ec41758ee164a7be3c9a3e82f2eed24affb6e47faa2f93e3d14e8940ef6a3363763182b9b559e  Mozilla-CA-20150826.tar.gz"