db-move: moved polari from [testing] to [extra] (x86_64)
[arch-packages.git] / perl-io-socket-ssl / trunk / PKGBUILD
blobbb8f6b4cbb76b73095baa140f78adda85130de5d
1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
3 pkgname=perl-io-socket-ssl
4 pkgver=2.081
5 pkgrel=1
6 pkgdesc="Nearly transparent SSL encapsulation for IO::Socket::INET"
7 arch=('any')
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')
16 build() {
17   cd IO-Socket-SSL-${pkgver}
18   yes | perl Makefile.PL INSTALLDIRS=vendor
19   make
22 check() {
23   cd IO-Socket-SSL-${pkgver}
24   make test || warning "TLS 1.3 related errors"
27 package() {
28   cd IO-Socket-SSL-${pkgver}
29   make DESTDIR="${pkgdir}" install