diff options
author | J0WI <J0WI@users.noreply.github.com> | 2018-10-20 17:27:35 +0200 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2019-02-08 08:45:49 +0000 |
commit | 3f2fb910adfa1aedc48160b3810617da62809dcc (patch) | |
tree | 929c07b6be35cfe4a7c1c031629e5e4ba6668363 /main/perl-mozilla-ca | |
parent | 050b3fb3ba6966538cb063e6f37acd5f07f1f5a1 (diff) | |
download | aports-3f2fb910adfa1aedc48160b3810617da62809dcc.tar.bz2 aports-3f2fb910adfa1aedc48160b3810617da62809dcc.tar.xz |
main/perl-mozilla-ca: modernize and upgrade to 20180117
Diffstat (limited to 'main/perl-mozilla-ca')
-rw-r--r-- | main/perl-mozilla-ca/APKBUILD | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/main/perl-mozilla-ca/APKBUILD b/main/perl-mozilla-ca/APKBUILD index b4de335ecd..82f1e25efe 100644 --- a/main/perl-mozilla-ca/APKBUILD +++ b/main/perl-mozilla-ca/APKBUILD @@ -3,10 +3,10 @@ # Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com> pkgname=perl-mozilla-ca _pkgreal=Mozilla-CA -pkgver=20160104 +pkgver=20180117 pkgrel=0 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" license="GPL PerlArtistic" cpandepends="" @@ -14,26 +14,24 @@ 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" +source="https://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 + make +} + +check() { + make test } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install 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" +sha512sums="8b4187f47638ba8d670b3f5cafc1de4040dfec1dde6a932411c79b41a8a454bcd3b66f9818c6d28135e29551ce93bc3ddb61e648c7810b30cb147ea0beaaedba Mozilla-CA-20180117.tar.gz" |