summaryrefslogtreecommitdiff
path: root/user/perl-math-random-isaac
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-17 23:46:59 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-17 23:46:59 +0000
commit6d96aace13ac43652c8dee39a032acabcf49c0e5 (patch)
treed9de2a113c16e3220915585a8936bf89c8cf211c /user/perl-math-random-isaac
parent8b513e5913f90a3ee9b975ceaf1d3fcbfd0f5fa5 (diff)
downloadpackages-6d96aace13ac43652c8dee39a032acabcf49c0e5.tar.gz
packages-6d96aace13ac43652c8dee39a032acabcf49c0e5.tar.bz2
packages-6d96aace13ac43652c8dee39a032acabcf49c0e5.tar.xz
packages-6d96aace13ac43652c8dee39a032acabcf49c0e5.zip
user/perl-math-random-isaac: new package
Diffstat (limited to 'user/perl-math-random-isaac')
-rw-r--r--user/perl-math-random-isaac/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-math-random-isaac/APKBUILD b/user/perl-math-random-isaac/APKBUILD
new file mode 100644
index 000000000..fe0543c74
--- /dev/null
+++ b/user/perl-math-random-isaac/APKBUILD
@@ -0,0 +1,35 @@
+# 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"