1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Giovanni Scafora <giovanni@archlinux.org>
3 # Contributor: Manolis Tzanidakis
5 pkgname=perl-net-ssleay
9 pkgdesc='Perl extension for using OpenSSL'
10 url='https://search.cpan.org/dist/Net-SSLeay/'
12 license=('custom:BSD')
14 makedepends=('chrpath')
15 replaces=('net-ssleay')
16 provides=('net-ssleay')
17 options=('!emptydirs')
18 source=(https://cpan.metacpan.org/authors/id/C/CH/CHRISN/${_cpanname}-${pkgver}.tar.gz)
19 sha512sums=('8a5f251b5ef1d8c2d619d984594a7a22ddeed2e5e726fe683a45f299d7878f4ca8ffab00480ebf5ef7a94ae1fcf6be05dfdaa68b8bfe2ad68443150765adb891')
20 b2sums=('2510fa886db8b7c5f185aa1145ae1b50b7c4101a9bd80e17c8c1d77718765f288c9180464d831775c35aa94b5a6f6c8f717ecaeb4974f7280829b63f10567f22')
23 cd ${_cpanname}-${pkgver}
24 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
29 cd ${_cpanname}-${pkgver}
34 cd ${_cpanname}-${pkgver}
36 make install DESTDIR="${pkgdir}"
37 install -Dm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}"
38 install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
41 find "${pkgdir}" -name '*.so' -exec chrpath -d '{}' \;