summaryrefslogblamecommitdiff
path: root/user/perl-lwp-protocol-https/APKBUILD
blob: 303e8aee7e392713e887d5607a8958494f6a179f (plain) (tree)
1
2
3
4
5
6
7
8


                                                                   



                               
           




                                                     
                                                                           


                                         

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                             
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
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"