# Maintainer: Natanael Copa pkgname=perl-io-socket-ssl _pkgreal=IO-Socket-SSL pkgver=2.060 pkgrel=1 pkgdesc="Nearly transparent SSL encapsulation for IO::Socket::INET" url="http://search.cpan.org/dist/IO-Socket-SSL/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="ca-certificates perl-net-libidn perl-net-ssleay" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/S/SU/SULLR/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" options="!check" # FIXME: check hangs occationally prepare() { default_prepare cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { cd "$builddir" make } check() { cd "$builddir" make test } package() { cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="1a1e29f8a4b912bd3643509356c66b3a567ae41bb0ac9eb30f6ca97eb68bf9507e20c0fb8512f5dfd309accd6cfba61811b8d637f5e991aaa0a250a906fcb95c IO-Socket-SSL-2.060.tar.gz"