Commit 3f2fb910 authored by J0WI's avatar J0WI Committed by Leonardo Arena
Browse files

main/perl-mozilla-ca: modernize and upgrade to 20180117

parent 050b3fb3
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com> # Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=perl-mozilla-ca pkgname=perl-mozilla-ca
_pkgreal=Mozilla-CA _pkgreal=Mozilla-CA
pkgver=20160104 pkgver=20180117
pkgrel=0 pkgrel=0
pkgdesc="Mozilla's CA cert bundle in PEM format" pkgdesc="Mozilla's CA cert bundle in PEM format"
url="http://search.cpan.org/dist/Mozilla-CA/" url="https://search.cpan.org/dist/Mozilla-CA/"
arch="noarch" arch="noarch"
license="GPL PerlArtistic" license="GPL PerlArtistic"
cpandepends="" cpandepends=""
...@@ -14,26 +14,24 @@ cpanmakedepends="" ...@@ -14,26 +14,24 @@ cpanmakedepends=""
depends="$cpandepends" depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends" makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/A/AB/ABH/$_pkgreal-$pkgver.tar.gz" source="https://search.cpan.org/CPAN/authors/id/A/AB/ABH/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() { prepare() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
} }
build() { build() {
cd "$_builddir" make
make && make test }
check() {
make test
} }
package() { package() {
cd "$_builddir" make DESTDIR="$pkgdir" install
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
} }
md5sums="1b91edb15953a8188f011ab5ff433300 Mozilla-CA-20160104.tar.gz" sha512sums="8b4187f47638ba8d670b3f5cafc1de4040dfec1dde6a932411c79b41a8a454bcd3b66f9818c6d28135e29551ce93bc3ddb61e648c7810b30cb147ea0beaaedba Mozilla-CA-20180117.tar.gz"
sha256sums="27a7069a243162b65ada4194ff9d21b6ebc304af723eb5d3972fb74c11b03f2a Mozilla-CA-20160104.tar.gz"
sha512sums="3b416d45ce82d2a0be5f8a3f61506deba48c9208e579e418addb2ff8920599aa4b4ab52f7ff4b8aaf274cf4cf2da8d30f7775f9663c6d9d3aae92f7a1cf6292b Mozilla-CA-20160104.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment