aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-math-random-mt-auto/APKBUILD
blob: b4f5ef0eee12dc8f4918f108e0dbb50fd36a2f50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=perl-math-random-mt-auto
_pkgreal=Math-Random-MT-Auto
pkgver=6.23
pkgrel=5
pkgdesc="Auto-seeded Mersenne Twister PRNGs"
url="https://metacpan.org/release/Math-Random-MT-Auto/"
arch="all"
license="BSD-3-Clause"
depends="perl-exception-class perl-object-insideout"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/J/JD/JDHEDDEN/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgreal-$pkgver

prepare() {
	default_prepare
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

build() {
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="3cdb0a1fee776f6aa91bb7a623bd5b0f2fafa6505fc83352c4b76bdb637b7eb94675fa87b32a0213a1e3baa90e60ddd6330c990f6581abb4dc3cdc7d6e7f8b80  Math-Random-MT-Auto-6.23.tar.gz"