archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-crypt-openssl-bignum / trunk / PKGBUILD
blob0fd7c0a541de3aa9bb2208cde7c6ae64ec5d5cc5
1 # Maintainer: Florian Pritz <bluewind@xinu.at>
3 pkgname=perl-crypt-openssl-bignum
4 pkgver=0.09
5 pkgrel=6
6 pkgdesc="OpenSSL's multiprecision integer arithmetic"
7 arch=(x86_64)
8 license=(PerlArtistic GPL)
9 options=(!emptydirs)
10 depends=(perl openssl)
11 url=https://metacpan.org/release/Crypt-OpenSSL-Bignum
12 source=("https://search.cpan.org/CPAN/authors/id/K/KM/KMX/Crypt-OpenSSL-Bignum-$pkgver.tar.gz")
13 md5sums=(c8ae05771c70c69b3e5647b29a885ed2)
14 sha512sums=(3480a64e35e158a7a7c75c0e57ac0f578ddcb901a14f80a58ffabd1f318a68a83b411a72c22c53650273507198907b1d62c88fddbf5587885f6fe1a75deff3ed)
15 _ddir="Crypt-OpenSSL-Bignum-$pkgver"
17 build()
19   cd "$srcdir/$_ddir"
20   export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
21   unset PERL5LIB PERL_MM_OPT
22   /usr/bin/perl Makefile.PL
23   make
26 check()
28   cd "$srcdir/$_ddir"
29   export PERL_MM_USE_DEFAULT=1
30   unset PERL5LIB
31   make test
34 package()
36   cd "$srcdir/$_ddir"
37   make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
40 # Local Variables:
41 # mode: shell-script
42 # sh-basic-offset: 2
43 # End:
44 # vim:set ts=2 sw=2 et: