1 # CPAN Name : Crypt-RSA
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator : CPANPLUS::Dist::Arch 1.04
4 # Template @ http://github.com/xenoterracide/AURpan/blob/master/perl-crypt-rsa/PKGBUILD.tt
5 # File bugs @ http://github.com/xenoterracide/AURpan/issues
7 pkgname='perl-crypt-rsa'
10 pkgdesc="RSA public-key cryptosystem."
12 url='http://search.cpan.org/dist/Crypt-RSA'
13 license=('PerlArtistic' 'GPL')
14 depends=('perl' 'perl-class-loader>=2.00' 'perl-convert-ascii-armour' 'perl-crypt-blowfish' 'perl-crypt-cbc' 'perl-crypt-primes>=0.38' 'perl-crypt-random>=0.34' 'perl-data-buffer' 'perl-digest-md2' 'perl-digest-sha1' 'perl-math-pari>=2.001804' 'perl-sort-versions' 'perl-tie-encryptedhash')
17 options=('!emptydirs')
19 source=('http://search.cpan.org/CPAN/authors/id/V/VI/VIPUL/Crypt-RSA-1.99.tar.gz')
20 md5sums=('f675a07810d735e99d7894338aba8e87')
23 DIST_DIR="${srcdir}/Crypt-RSA-1.99"
24 export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
25 PERL_AUTOINSTALL=--skipdeps \
26 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
27 PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
28 MODULEBUILDRC=/dev/null
31 perl Makefile.PL INSTALLDIRS=vendor &&
34 make DESTDIR="$pkgdir" install;
37 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete