# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin pkgname=perl-crypt-openssl-rsa pkgver=0.25 pkgrel=3 pkgdesc="Interface to OpenSSL RSA methods" arch=('i686' 'x86_64') url="http://search.cpan.org/dist/Crypt-OpenSSL-RSA" depends=('perl-crypt-openssl-random' 'perl-crypt-openssl-bignum') license=('GPL') option=('!emptydirs') source=(http://www.cpan.org/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-RSA-$pkgver.tar.gz) md5sums=('fdf19c9093f47cffb851ae937d053c14') build() { cd $startdir/src/Crypt-OpenSSL-RSA-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 make pure_install doc_install DESTDIR=$startdir/pkg || return 1 find $startdir/pkg -name '.packlist' -delete find $startdir/pkg -name '*.pod' -delete }