archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-crypt-ssleay / trunk / PKGBUILD
blob70cdc52c26139c7fc8d530a03a126bf4b1af01d3
1 # Maintainer: Giovanni Scafora <giovanni@archlinux.org>
2 # Contributor: François Charette <firmicus ατ gmx δοτ net>
4 pkgname=perl-crypt-ssleay
5 pkgver=0.73_04
6 pkgrel=15
7 pkgdesc="OpenSSL glue that provides LWP https support"
8 arch=('x86_64')
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')
16 build() {
17   cd  "${srcdir}/Crypt-SSLeay-${pkgver}"
19   PERL_USE_UNSAFE_INC=1 \
20   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
21   make
24 check() {
25   cd  "${srcdir}/Crypt-SSLeay-${pkgver}"
27 #  make test
30 package() {
31   cd  "${srcdir}/Crypt-SSLeay-${pkgver}"
33   make install DESTDIR="${pkgdir}"
35   find "${pkgdir}" -name '.packlist' -delete
36   find "${pkgdir}" -name '*.pod' -delete