2023-01-11 13:23:51 +00:00
|
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
|
|
|
|
_cpaname=Math-Random-Secure
|
|
|
|
_cpanauthor=FREW
|
2023-03-31 20:26:25 +00:00
|
|
|
pkgname=perl-math-random-secure
|
|
|
|
pkgver=0.080001
|
|
|
|
pkgrel=1
|
2023-01-11 13:23:51 +00:00
|
|
|
pkgdesc="Perl Math::Random::Secure CPAN module - cryptographically-secure, cross-platform replacement for rand()"
|
2023-05-07 22:41:06 +00:00
|
|
|
arch="!armv7 noarch"
|
2023-01-11 13:23:51 +00:00
|
|
|
url="http://search.cpan.org/dist/$_cpaname/"
|
|
|
|
license="GPL"
|
2023-05-05 22:51:22 +00:00
|
|
|
options="!check" # Failure
|
2023-01-11 13:23:51 +00:00
|
|
|
makedepends="
|
|
|
|
perl-moo
|
|
|
|
perl-moose
|
|
|
|
perl-test-sharedfork
|
|
|
|
perl-test-warn
|
|
|
|
"
|
|
|
|
depends="
|
|
|
|
perl-crypt-random-source
|
|
|
|
perl-math-random-isaac
|
|
|
|
"
|
|
|
|
source="http://search.cpan.org/CPAN/authors/id/${_cpanauthor::1}/${_cpanauthor::2}/$_cpanauthor/$_cpaname-$pkgver.tar.gz"
|
|
|
|
subpackages="$pkgname-doc"
|
|
|
|
builddir="$srcdir"/$_cpaname-$pkgver
|
|
|
|
|
|
|
|
build() {
|
|
|
|
perl Makefile.PL
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
make test
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
|
|
|
|
# provided by perl-crypt-random-source
|
|
|
|
rm "$pkgdir"/usr/lib/*/core_perl/perllocal.pod
|
|
|
|
}
|
|
|
|
sha512sums="
|
|
|
|
2092fc01e224ebb438f927f72e835095efdb8790d8f4ef845fc7c4af3e20a05848e7632b0e752221bbe76cebbfa8186638043457ff4f80ff5727a42baec317ce Math-Random-Secure-0.080001.tar.gz
|
|
|
|
"
|