summaryrefslogtreecommitdiff
path: root/community/perl-crypt-openssl-random/PKGBUILD
blob: 112f52e1eef557af26e990d02fb7dacdaa1e1fb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 35592 2010-12-21 22:49:23Z tdziedzic $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=perl-crypt-openssl-random
pkgver=0.04
pkgrel=4
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
  make
  make pure_install doc_install DESTDIR=$startdir/pkg
  find $startdir/pkg -name '.packlist' -delete
  find $startdir/pkg -name '*.pod' -delete
}