# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin pkgname=perl-crypt-openssl-random pkgver=0.04 pkgrel=2 pkgdesc="Interface to OpenSSL PRNG methods" arch=('i686' 'x86_64') url="http://search.cpan.org/dist/Crypt-OpenSSL-Random" depends=('perl' 'openssl') license=('GPL') option=('!emptydirs') source=(http://www.cpan.org/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-Random-$pkgver.tar.gz) md5sums=('c56ac5dbdd46122eb9b8da59613b7b0a') build() { cd $startdir/src/Crypt-OpenSSL-Random-$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 }