# Maintainer: Leonardo Arena pkgname=perl-crypt-openssl-random _realname=Crypt-OpenSSL-Random pkgver=0.11 pkgrel=6 pkgdesc="RSA encoding and decoding, using the openSSL libraries" url="http://search.cpan.org/~iroberts/Crypt-OpenSSL-Random-0.04/" arch="all" license="Artistic-1.0 GPL+" depends="perl" makedepends="perl-dev libressl-dev" install= subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/$_realname-$pkgver.tar.gz" _builddir="$srcdir"/$_realname-$pkgver build() { cd "$_builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install # creates file collision among perl modules find "$pkgdir" -name perllocal.pod -delete } md5sums="5d71337503e0356ce1ce1481504e5885 Crypt-OpenSSL-Random-0.11.tar.gz" sha256sums="bb8c81c6a39b9b13a22d818ee9a746242f136f0fadceb6b9776ae615e7524c7a Crypt-OpenSSL-Random-0.11.tar.gz" sha512sums="c579cb2b586dbabd697a9c7c989a360ed4bd8e9b28d7c93ad99a86bd9bd680a89c3fa77f6315a1105fd41bfdfa18087ca4cd51fb320faad7a6be9b90e3e69b95 Crypt-OpenSSL-Random-0.11.tar.gz"