PKGBUILDs/community/perl-crypt-openssl-bignum/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
803 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=perl-crypt-openssl-bignum
pkgver=0.04
pkgrel=2
pkgdesc="OpenSSL's multiprecision integer arithmetic "
arch=('i686' 'x86_64')
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 || 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
}