Verified Commit 6d96aace authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

user/perl-math-random-isaac: new package

parent 8b513e59
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-math-random-isaac
_pkgname=Math-Random-ISAAC
pkgver=1.004
pkgrel=0
pkgdesc="Perl interface to the ISAAC PRNG algorithm"
url="https://metacpan.org/release/Math-Random-ISAAC"
arch="noarch"
license="Public-Domain"
depends=""
checkdepends="perl-test-nowarnings"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/J/JA/JAWNSY/Math-Random-ISAAC-$pkgver.tar.gz"
builddir="$srcdir/Math-Random-ISAAC-$pkgver"
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="98fdfb28b207b4afe72ab82a2b564b06c5daaac15cdab2ce2ef698b16c0dcf5b23ac28fbebe170d2c6c7239fe6c97f634e5c03a8f2bd0aeb8369d0008b9ae0a2 Math-Random-ISAAC-1.004.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment