upgpkg: ocaml-integers 0.5.0-1
[arch-packages.git] / perl-crypt-openssl-rsa / trunk / PKGBUILD
blobb0085dc25cd638e8c35d9396153ae8e13c32d901
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.32
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://search.cpan.org/CPAN/authors/id/T/TO/TODDR/Crypt-OpenSSL-RSA-$pkgver.tar.gz")
15 md5sums=('41ee1df9ce505ffb85ce26a18c494841')
16 sha512sums=('2972611a8fa4e9c44fd09c9e7fa32f0abd377230f14dcdfa99edab87bba2199c6a0cab4d1e08bdf3057959c0efd3343eb989e46f4befd572b15540e59f1e3c64')
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: