summaryrefslogtreecommitdiff
path: root/extra/perl-crypt-openssl-random
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-03 23:15:07 +0000
committerroot <root@rshg054.dnsready.net>2012-02-03 23:15:07 +0000
commitde078a89b9e3a45b6b2e3f0c9d866962e5125ba3 (patch)
tree73a6a95927c514dedab1508b2a9a8a3f58e2f1db /extra/perl-crypt-openssl-random
parent22e5f5bf64eba5c65674eeb3a8167de2854dbe0e (diff)
Fri Feb 3 23:15:07 UTC 2012
Diffstat (limited to 'extra/perl-crypt-openssl-random')
-rw-r--r--extra/perl-crypt-openssl-random/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/extra/perl-crypt-openssl-random/PKGBUILD b/extra/perl-crypt-openssl-random/PKGBUILD
new file mode 100644
index 000000000..b193f95c2
--- /dev/null
+++ b/extra/perl-crypt-openssl-random/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 47486 2011-05-23 15:55:23Z tdziedzic $
+# Maintainer: Florian Pritz <bluewind@xinu.at>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=perl-crypt-openssl-random
+pkgver=0.04
+pkgrel=6
+pkgdesc="Interface to OpenSSL PRNG methods"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/Crypt-OpenSSL-Random"
+depends=('perl' 'openssl')
+license=('GPL')
+options=('!emptydirs')
+source=(http://www.cpan.org/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-Random-$pkgver.tar.gz)
+md5sums=('c56ac5dbdd46122eb9b8da59613b7b0a')
+
+build() {
+ cd "$srcdir/Crypt-OpenSSL-Random-$pkgver"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$srcdir/Crypt-OpenSSL-Random-$pkgver"
+
+ make test
+}
+
+package() {
+ cd "$srcdir/Crypt-OpenSSL-Random-$pkgver"
+
+ make pure_install doc_install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}