summaryrefslogtreecommitdiff
path: root/community/perl-crypt-openssl-bignum/PKGBUILD
blob: 721249b200a704fb8b1246a587c630ebafb398b6 (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 47483 2011-05-23 15:54:16Z tdziedzic $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=perl-crypt-openssl-bignum
pkgver=0.04
pkgrel=5
pkgdesc="OpenSSL's multiprecision integer arithmetic "
arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/Crypt-OpenSSL-Bignum"
depends=('perl' 'openssl')
license=('GPL')
option=('!emptydirs')
source=(http://www.cpan.org/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-Bignum-$pkgver.tar.gz)
md5sums=('9369ef722b0705c0604998559988eb18')

build() {
  cd  $startdir/src/Crypt-OpenSSL-Bignum-$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
}