2023-01-11 13:23:51 +00:00
|
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
|
|
|
|
pkgname=perl-math-random-isaac
|
|
|
|
pkgver=1.004
|
2023-03-31 20:26:25 +00:00
|
|
|
pkgrel=1
|
2023-01-11 13:23:51 +00:00
|
|
|
pkgdesc="Perl interface to the ISAAC PRNG algorithm"
|
2023-08-11 19:49:05 +00:00
|
|
|
arch="noarch"
|
2023-01-11 13:23:51 +00:00
|
|
|
url='https://search.cpan.org/dist/Math-Random-ISAAC/'
|
|
|
|
license="GPL"
|
|
|
|
depends="perl"
|
|
|
|
makedepends="perl-test-nowarnings"
|
|
|
|
source="https://search.cpan.org/CPAN/authors/id/J/JA/JAWNSY/Math-Random-ISAAC-$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir"/Math-Random-ISAAC-$pkgver
|
|
|
|
subpackages="$pkgname-doc"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps \
|
2023-03-31 20:26:25 +00:00
|
|
|
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR=$pkgdir" \
|
|
|
|
PERL_MB_OPT="--installdirs vendor --destdir $pkgdir" \
|
2023-01-11 13:23:51 +00:00
|
|
|
MODULEBUILDRC=/dev/null
|
|
|
|
perl Makefile.PL
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
make test
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
make install
|
2023-03-31 20:26:25 +00:00
|
|
|
find "$pkgdir" \( -name .packlist -o -name perllocal.pod \) -delete
|
2023-01-11 13:23:51 +00:00
|
|
|
}
|
|
|
|
sha512sums="
|
|
|
|
98fdfb28b207b4afe72ab82a2b564b06c5daaac15cdab2ce2ef698b16c0dcf5b23ac28fbebe170d2c6c7239fe6c97f634e5c03a8f2bd0aeb8369d0008b9ae0a2 Math-Random-ISAAC-1.004.tar.gz
|
|
|
|
"
|