summaryrefslogtreecommitdiff
path: root/testing/perl-crypt-openssl-rsa
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-28 17:43:57 +0000
committerroot <root@rshg054.dnsready.net>2012-05-28 17:43:57 +0000
commit483f7de4ab6a706517279a24d2efc969f4a1996d (patch)
tree128a7513d3e42c4d8812b5fd11a4afb116399762 /testing/perl-crypt-openssl-rsa
parent89dd7b5f30d48c708092a71b1c8285090fe91505 (diff)
Mon May 28 17:43:57 UTC 2012
Diffstat (limited to 'testing/perl-crypt-openssl-rsa')
-rw-r--r--testing/perl-crypt-openssl-rsa/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/perl-crypt-openssl-rsa/PKGBUILD b/testing/perl-crypt-openssl-rsa/PKGBUILD
new file mode 100644
index 000000000..3a44bf936
--- /dev/null
+++ b/testing/perl-crypt-openssl-rsa/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 56402 2011-10-07 09:48:12Z spupykin $
+# Maintainer: Florian Pritz <bluewind@xinu.at>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=perl-crypt-openssl-rsa
+pkgver=0.28
+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://search.cpan.org/CPAN/authors/id/P/PE/PERLER/Crypt-OpenSSL-RSA-$pkgver.tar.gz")
+md5sums=('86217a5036fc63779c30420b5fd84129')
+
+build() {
+ cd "$srcdir/Crypt-OpenSSL-RSA-$pkgver"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$srcdir/Crypt-OpenSSL-RSA-$pkgver"
+
+ make test
+}
+
+package() {
+ cd "$srcdir/Crypt-OpenSSL-RSA-$pkgver"
+ make pure_install doc_install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}