# Automatically generated by apkbuild-cpan, template 2 # Contributor: Timothy Legge # Maintainer: Timothy Legge pkgname=perl-statistics-chisquare _pkgreal=Statistics-ChiSquare pkgver=1.0000 pkgrel=0 pkgdesc="Perl module for Statistics-ChiSquare" url="https://metacpan.org/release/Statistics-ChiSquare/" arch="noarch" license="GPL-2.0-or-later OR Artistic-1.0-Perl" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/D/DC/DCANTRELL/Statistics-ChiSquare-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor make } check() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="6523c0e44b53835796c5b3f41cb6281413b79c596601a1971b8cb6fc7b2c76fc53ca60642bc96897083d6504ffc0e5ed35b475df4e9264231a5d602d90b3dd35 Statistics-ChiSquare-1.0000.tar.gz"