aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-mozilla-ca/APKBUILD
blob: d86d6f3cad39026301e12fde529e67519077d724 (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=20141217
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="e0e5646886aeb3f71fb593f536295e2c  Mozilla-CA-20141217.tar.gz"
sha256sums="b753c9aceb20388482eb7f371b86e9e7bbc43feb0f87b3d9e10f7728d1720d30  Mozilla-CA-20141217.tar.gz"
sha512sums="5b19317382d2f873237517f7bd603ea87580a22c5118feae05e0170090bc08cd994724bde77375499d370708b74633ab3151899027ecbb015471d16fd9821387  Mozilla-CA-20141217.tar.gz"