# Contributor: Leonardo Arena # Maintainer: Leonardo Arena pkgname=perl-crypt-openssl-rsa _realname=Crypt-OpenSSL-RSA pkgver=0.27 pkgrel=0 pkgdesc="RSA encoding and decoding, using the openSSL libraries" url="http://search.cpan.org/~iroberts" arch="all" license="Unknown" depends="perl perl-crypt-openssl-random" makedepends="perl-dev openssl-dev" install= subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/$_realname-$pkgver.tar.gz" build() { cd "$srcdir/$_realname-$pkgver" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 make DESTDIR="$pkgdir" install # creates file collision among perl modules find "$pkgdir" -name perllocal.pod -delete } md5sums="08ed5352354116a88a7922ba2da57efa Crypt-OpenSSL-RSA-0.27.tar.gz"