summaryrefslogtreecommitdiff
path: root/community/perl-crypt-openssl-rsa/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/perl-crypt-openssl-rsa/PKGBUILD')
-rw-r--r--community/perl-crypt-openssl-rsa/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/perl-crypt-openssl-rsa/PKGBUILD b/community/perl-crypt-openssl-rsa/PKGBUILD
new file mode 100644
index 000000000..21ac6ce4a
--- /dev/null
+++ b/community/perl-crypt-openssl-rsa/PKGBUILD
@@ -0,0 +1,24 @@
+# $Id: PKGBUILD 35595 2010-12-21 22:50:52Z tdziedzic $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=perl-crypt-openssl-rsa
+pkgver=0.26
+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')
+options=('!emptydirs')
+source=(http://www.cpan.org/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-RSA-$pkgver.tar.gz)
+md5sums=('baf875f01ee39b88335b8f0962fe4bbc')
+
+build() {
+ cd $startdir/src/Crypt-OpenSSL-RSA-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+ make pure_install doc_install DESTDIR=$startdir/pkg
+ find $startdir/pkg -name '.packlist' -delete
+ find $startdir/pkg -name '*.pod' -delete
+}
+