# Contributor: A. Wilcox # Maintainer: Adélie Perl Team pkgname=perl-lwp-protocol-https _pkgreal=LWP-Protocol-https _author=OALDERS _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=6.09 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 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/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="53e1ec7dec04988c3c7fa70a5f0ed60c38270bbbb9fe99a7cfeb84db0c40f5ff6f6f94aa4aa639498af6d0bc201dcb7e6e3491bae96411250ef50b010d32add1 LWP-Protocol-https-6.09.tar.gz"