OCaml 4.14.0 rebuild
[arch-packages.git] / perl-crypt-openssl-rsa / trunk / PKGBUILD
blob3bcdd27de0c9d58082f768b3e4c74c7b0e34b014
1 # Maintainer: Florian Pritz <bluewind@xinu.at>
2 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
4 pkgname=perl-crypt-openssl-rsa
5 pkgver=0.33
6 pkgrel=1
7 pkgdesc='RSA encoding and decoding, using the openSSL libraries'
8 arch=(x86_64)
9 license=(PerlArtistic GPL)
10 options=(!emptydirs)
11 depends=('perl>=5.6' perl-crypt-openssl-random)
12 makedepends=('perl-crypt-openssl-guess>=0.11')
13 url=https://metacpan.org/release/Crypt-OpenSSL-RSA
14 source=("https://cpan.metacpan.org/authors/id/T/TO/TODDR/Crypt-OpenSSL-RSA-$pkgver.tar.gz")
15 md5sums=(402994cca9f4502741cf9514719b9bdf)
16 sha512sums=(7bfa802ec41925ec9fa6937c5eea0d21f6f554a1d1d57ed679ed03b260cf08c0a397df11880de6d67abacfd843ad2c4f28b20ac58d80e183c2a83c91deb926bf)
17 _ddir="Crypt-OpenSSL-RSA-$pkgver"
19 build()
21   cd "$srcdir/$_ddir"
22   export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
23   unset PERL5LIB PERL_MM_OPT
24   /usr/bin/perl Makefile.PL
25   make
28 check()
30   cd "$srcdir/$_ddir"
31   export PERL_MM_USE_DEFAULT=1
32   unset PERL5LIB
33   make test
36 package()
38   cd "$srcdir/$_ddir"
39   make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
42 # Local Variables:
43 # mode: shell-script
44 # sh-basic-offset: 2
45 # End:
46 # vim:set ts=2 sw=2 et: