From 55f2407cd62f49f62e6a2f84fc29ad9dd6f400b3 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 18 Nov 2018 00:01:37 +0000 Subject: user/perl-lwp-protocol-https: new package --- user/perl-lwp-protocol-https/APKBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 user/perl-lwp-protocol-https/APKBUILD (limited to 'user/perl-lwp-protocol-https') diff --git a/user/perl-lwp-protocol-https/APKBUILD b/user/perl-lwp-protocol-https/APKBUILD new file mode 100644 index 000000000..ccd4d42fc --- /dev/null +++ b/user/perl-lwp-protocol-https/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: A. Wilcox +# Maintainer: Adélie Perl Team +pkgname=perl-lwp-protocol-https +_pkgname=LWP-Protocol-https +pkgver=6.07 +pkgrel=0 +pkgdesc="HTTPS support for Perl LWP" +url="https://metacpan.org/release/LWP-Protocol-https" +arch="noarch" +license="Artistic-1.0-Perl OR GPL-2.0-only" +depends="perl-io-socket-ssl perl-libwww perl-mozilla-ca perl-net-http" +checkdepends="perl-test-requiresinternet" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/LWP-Protocol-https-$pkgver.tar.gz" +builddir="$srcdir/LWP-Protocol-https-$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="4a07cd8a1c44e31781069a632a77f3af43747933420e831b4fd4a12faac7dc04f0c6b10ea773c3e14ecb66209a547b3587c0e3f481a55b9929db65f7b10343aa LWP-Protocol-https-6.07.tar.gz" -- cgit v1.2.3-70-g09d2