summaryrefslogtreecommitdiff
path: root/extra/perl-crypt-openssl-bignum/PKGBUILD
blob: 845e348c4fbb076d38604a2b3369463d1afc7e6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $Id: PKGBUILD 47483 2011-05-23 15:54:16Z tdziedzic $
# Maintainer: Florian Pritz <bluewind@xinu.at>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=perl-crypt-openssl-bignum
pkgver=0.04
pkgrel=7
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')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-Bignum-$pkgver.tar.gz)
md5sums=('9369ef722b0705c0604998559988eb18')

build() {
  cd  "$srcdir/Crypt-OpenSSL-Bignum-$pkgver"
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}


check() {
  cd  "$srcdir/Crypt-OpenSSL-Bignum-$pkgver"

  make test
}

package() {
  cd  "$srcdir/Crypt-OpenSSL-Bignum-$pkgver"

  make pure_install doc_install DESTDIR="$pkgdir"
  find "$pkgdir" -name '.packlist' -delete
  find "$pkgdir" -name '*.pod' -delete
}