archrelease: copy trunk to staging-x86_64
[arch-packages.git] / perl-crypt-openssl-random / repos / extra-x86_64 / PKGBUILD
blobf7f5169d76c09d621dde1053d9da578274bd67b0
1 # Maintainer: Florian Pritz <bluewind@xinu.at>
3 pkgname=perl-crypt-openssl-random
4 pkgver=0.15
5 pkgrel=9
6 pkgdesc='Routines for accessing the OpenSSL pseudo-random number generator'
7 arch=(x86_64)
8 license=(PerlArtistic GPL)
9 options=(!emptydirs)
10 makedepends=('perl-crypt-openssl-guess>=0.11')
11 depends=(perl openssl )
12 url=https://metacpan.org/release/Crypt-OpenSSL-Random
13 source=("https://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/Crypt-OpenSSL-Random-$pkgver.tar.gz")
14 md5sums=(bcde8d5a822c91376deda3c4f0c75fbe)
15 sha512sums=(bba8ce86b97ce2d6271be503efff6e6e0ff60a797282a2b7cb9c6c0592b69cc43344f9738b4790e5fc165a7273ff01e35ada481cf8c4dfde38cb7ad741d97530)
16 _ddir="Crypt-OpenSSL-Random-$pkgver"
18 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() {
27   cd "$srcdir/$_ddir"
28   export PERL_MM_USE_DEFAULT=1
29   unset PERL5LIB
30   make test
33 package() {
34   cd "$srcdir/$_ddir"
35   make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
38 # Local Variables:
39 # mode: shell-script
40 # sh-basic-offset: 2
41 # End:
42 # vim:set ts=2 sw=2 et: