# Contributor: TBK pkgname=perl-number-misc _pkgreal=Number-Misc pkgver=1.2 pkgrel=4 pkgdesc="Handy utilities for numbers" url="https://metacpan.org/release/Number-Misc/" arch="noarch" license="GPL PerlArtistic" options="!check" depends="perl" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/M/MI/MIKO/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums=" f160de841bc895481f6d9422ed639391fd9e9b65239e3c0adf25b63e88902e7608049496ecec864cae39a046e5f1903f3e3ede1cb71018203f62da2ded67b8eb Number-Misc-1.2.tar.gz "