1 # Maintainer: Giovanni Scafora <giovanni@archlinux.org>
2 # Contributor: François Charette <firmicus ατ gmx δοτ net>
4 pkgname=perl-crypt-ssleay
7 pkgdesc="OpenSSL glue that provides LWP https support"
9 url="https://search.cpan.org/dist/Crypt-SSLeay"
10 license=('GPL' 'PerlArtistic')
11 depends=('perl-lwp-protocol-https' 'perl-try-tiny' 'perl-path-class' 'perl-bytes-random-secure')
12 options=('!emptydirs')
13 source=("https://www.cpan.org/CPAN/authors/id/N/NA/NANIS/Crypt-SSLeay-$pkgver.tar.gz")
14 md5sums=('7508b2a34da2202cc0c78deb59e36526')
17 cd "${srcdir}/Crypt-SSLeay-${pkgver}"
19 PERL_USE_UNSAFE_INC=1 \
20 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
25 cd "${srcdir}/Crypt-SSLeay-${pkgver}"
31 cd "${srcdir}/Crypt-SSLeay-${pkgver}"
33 make install DESTDIR="${pkgdir}"
35 find "${pkgdir}" -name '.packlist' -delete
36 find "${pkgdir}" -name '*.pod' -delete