From d87a7d3425dc6d72466966b156d7a01999def983 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 30 May 2018 19:08:57 +0000
Subject: perl-io-socket-ssl: update to 2.056

---
 abs/core/perl_modules/perl-io-socket-ssl/PKGBUILD | 28 +++++++++++------------
 1 file changed, 13 insertions(+), 15 deletions(-)

diff --git a/abs/core/perl_modules/perl-io-socket-ssl/PKGBUILD b/abs/core/perl_modules/perl-io-socket-ssl/PKGBUILD
index e144c03..dbdd4f8 100644
--- a/abs/core/perl_modules/perl-io-socket-ssl/PKGBUILD
+++ b/abs/core/perl_modules/perl-io-socket-ssl/PKGBUILD
@@ -1,33 +1,31 @@
-# $Id: PKGBUILD 163575 2012-07-16 03:26:30Z eric $
-# Maintainer: Kevin Piche <kevin@archlinux.org>
-# Contributor: Manolis Tzanidakis
-# Contributor: Francois Charette <francois.archlinux.org>
+# $Id$
+# Maintainer: Eric Bélanger <eric@archlinux.org>
 
 pkgname=perl-io-socket-ssl
-_cpanname=IO-Socket-SSL
-pkgver=1.76
+pkgver=2.056
 pkgrel=1
 pkgdesc="Nearly transparent SSL encapsulation for IO::Socket::INET"
 arch=('any')
 license=('GPL' 'PerlArtistic')
-url="http://search.cpan.org/dist/${_cpanname}/"
-depends=('perl-net-ssleay' 'perl>=5.10.0')
+url="http://search.cpan.org/dist/IO-Socket-SSL/"
+depends=('perl-net-ssleay' 'perl' 'perl-uri')
+checkdepends=('perl-io-socket-inet6')
 options=('!emptydirs')
-source=(http://www.cpan.org/authors/id/S/SU/SULLR/${_cpanname}-${pkgver}.tar.gz)
-sha1sums=('b27cfff3b5cf03f223431317abda03d44d1a902d')
+source=(http://www.cpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-${pkgver}.tar.gz)
+sha1sums=('281b20a3b50294b4362a7a7b9c631dc5a0d04b4c')
 
 build() {
-  cd "${srcdir}/${_cpanname}-${pkgver}"
-  perl Makefile.PL INSTALLDIRS=vendor
+  cd IO-Socket-SSL-${pkgver}
+  yes | perl Makefile.PL INSTALLDIRS=vendor
   make
 }
 
 check() {
-  cd "${srcdir}/${_cpanname}-${pkgver}"
+  cd IO-Socket-SSL-${pkgver}
   make test
 }
 
 package() {
-  cd "${srcdir}/${_cpanname}-${pkgver}"
-  make install DESTDIR="${pkgdir}"
+  cd IO-Socket-SSL-${pkgver}
+  make DESTDIR="${pkgdir}" install
 }
-- 
cgit v0.12

