diff options
Diffstat (limited to 'system/perl-net-ssleay')
-rw-r--r-- | system/perl-net-ssleay/APKBUILD | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/system/perl-net-ssleay/APKBUILD b/system/perl-net-ssleay/APKBUILD index 593eb4886..0f8520ce4 100644 --- a/system/perl-net-ssleay/APKBUILD +++ b/system/perl-net-ssleay/APKBUILD @@ -1,7 +1,10 @@ # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> pkgname=perl-net-ssleay -_realname=Net-SSLeay +_pkgreal=Net-SSLeay +_author=CHRISN +_au=${_author%%"${_author#??}"} +_a=${_author%%"${_author#?}"} pkgver=1.88 pkgrel=0 pkgdesc="Perl extension for using OpenSSL" @@ -12,26 +15,20 @@ depends="perl" makedepends="perl-dev openssl-dev zlib-dev" checkdepends="perl-test-exception perl-test-warn perl-test-nowarnings" subpackages="$pkgname-doc" -source="https://cpan.metacpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-$pkgver.tar.gz" -builddir="$srcdir/$_realname-$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 || return 1 make } check() { - cd "$builddir" make test } package() { - cd "$builddir" - make DESTDIR="$pkgdir" install - - # creates file collision among perl modules find "$pkgdir" -name perllocal.pod -delete } |