# Maintainer: Leonardo Arena pkgname=perl-crypt-openssl-random _realname=Crypt-OpenSSL-Random pkgver=0.10 pkgrel=2 pkgdesc="RSA encoding and decoding, using the openSSL libraries" url="http://search.cpan.org/~iroberts/Crypt-OpenSSL-Random-0.04/" arch="all" license="Unknown" depends="perl" makedepends="perl-dev openssl-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="b89ca9314c3a066b440a7bb3cb8d725d Crypt-OpenSSL-Random-0.10.tar.gz" sha256sums="ae65d0ab6907edd1d67f87fdf0923ecae4d54c4c2e0ac9d9df97227903ccf18a Crypt-OpenSSL-Random-0.10.tar.gz" sha512sums="e1fd1de82910a58c3f40e097fab6bfde9fb6162b07ebeadd16ff406a547fbd9c0cf5b0d46bba13093a00d9fac0044d9b793668411dd758c0169512d79b8bc691 Crypt-OpenSSL-Random-0.10.tar.gz"