aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-mozilla-ca/APKBUILD
blob: b4de335ecd338489879503b9f403c13fee2fe13f (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=20160104
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="1b91edb15953a8188f011ab5ff433300  Mozilla-CA-20160104.tar.gz"
sha256sums="27a7069a243162b65ada4194ff9d21b6ebc304af723eb5d3972fb74c11b03f2a  Mozilla-CA-20160104.tar.gz"
sha512sums="3b416d45ce82d2a0be5f8a3f61506deba48c9208e579e418addb2ff8920599aa4b4ab52f7ff4b8aaf274cf4cf2da8d30f7775f9663c6d9d3aae92f7a1cf6292b  Mozilla-CA-20160104.tar.gz"