PKGBUILDs/community/perl-crypt-openssl-rsa/PKGBUILD

24 lines
819 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
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
}