# Automatically generated by apkbuild-cpan, template 1 # Contributor: Kiyoshi Aman # Maintainer: Kiyoshi Aman pkgname=perl-lwp-protocol-https _pkgreal=LWP-Protocol-https pkgver=6.09 pkgrel=1 pkgdesc="Provide https support for LWP::UserAgent" url="https://metacpan.org/release/LWP-Protocol-https/" arch="noarch" license="GPL PerlArtistic" depends="perl-libwww perl-io-socket-ssl perl-mozilla-ca perl-net-http perl-net-ssleay" makedepends="perl-dev perl-try-tiny" checkdepends="perl-test-requiresinternet" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { default_prepare export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') 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"