summaryrefslogtreecommitdiff
path: root/user/perl-mozilla-ca
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-mozilla-ca')
-rw-r--r--user/perl-mozilla-ca/APKBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/user/perl-mozilla-ca/APKBUILD b/user/perl-mozilla-ca/APKBUILD
index dc3153400..0d15aed92 100644
--- a/user/perl-mozilla-ca/APKBUILD
+++ b/user/perl-mozilla-ca/APKBUILD
@@ -1,32 +1,32 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-mozilla-ca
-_pkgname=Mozilla-CA
+_pkgreal=Mozilla-CA
+_author=ABH
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
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=""
+depends="perl"
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"
+source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$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
}