diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-11-18 00:01:08 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-11-18 00:01:08 +0000 |
commit | 32a769011bc03ee3bec63bb270b733dc7f3d9419 (patch) | |
tree | 17fa1a958a4442d820db7dee99c22c0b4eaa5efb /user | |
parent | 2fcf02a380859f7c76d7aa65b61cd717d817f221 (diff) | |
download | packages-32a769011bc03ee3bec63bb270b733dc7f3d9419.tar.gz packages-32a769011bc03ee3bec63bb270b733dc7f3d9419.tar.bz2 packages-32a769011bc03ee3bec63bb270b733dc7f3d9419.tar.xz packages-32a769011bc03ee3bec63bb270b733dc7f3d9419.zip |
user/perl-mozilla-ca: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-mozilla-ca/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-mozilla-ca/APKBUILD b/user/perl-mozilla-ca/APKBUILD new file mode 100644 index 000000000..dc3153400 --- /dev/null +++ b/user/perl-mozilla-ca/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-mozilla-ca +_pkgname=Mozilla-CA +pkgver=20180117 +pkgrel=0 +pkgdesc="Mozilla's CA certificate bundle for Perl" +url="https://metacpan.org/release/Mozilla-CA" +arch="noarch" +license="MPL-2.0-only" +depends="" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/A/AB/ABH/Mozilla-CA-$pkgver.tar.gz" +builddir="$srcdir/Mozilla-CA-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="8b4187f47638ba8d670b3f5cafc1de4040dfec1dde6a932411c79b41a8a454bcd3b66f9818c6d28135e29551ce93bc3ddb61e648c7810b30cb147ea0beaaedba Mozilla-CA-20180117.tar.gz" |