1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
3 pkgname=perl-io-socket-ssl
6 pkgdesc="Nearly transparent SSL encapsulation for IO::Socket::INET"
8 license=('GPL' 'PerlArtistic')
9 url="https://search.cpan.org/dist/IO-Socket-SSL/"
10 depends=('perl-net-ssleay' 'perl' 'perl-uri')
11 checkdepends=('perl-io-socket-inet6')
12 options=('!emptydirs')
13 source=(https://www.cpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-${pkgver}.tar.gz)
14 sha512sums=('309d02983a8a6c1440c2161189fd4648533bafb784a3271fb0d8671681ed606aeaeb5f0650de5f26869e1fd84e9c8bd94674988bbefcd0f424c94a387a548534')
17 cd IO-Socket-SSL-${pkgver}
18 yes | perl Makefile.PL INSTALLDIRS=vendor
23 cd IO-Socket-SSL-${pkgver}
24 make test || warning "TLS 1.3 related errors"
28 cd IO-Socket-SSL-${pkgver}
29 make DESTDIR="${pkgdir}" install