# Contributor: Natanael Copa # Maintainer: Sergey Safarov pkgname=perl-math-basecnv pkgver=1.14 pkgrel=1 pkgdesc="Math::BaseCnv perl module" url="https://metacpan.org/release/Math-BaseCnv/" arch="noarch" license="GPL-3.0" depends="perl" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/P/PI/PIP/Math-BaseCnv-$pkgver.tgz" builddir="$srcdir"/Math-BaseCnv-$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="0100dcf8786fe0983bbddffb2a44876d75cf023b78a04687b4d410c3667e44606f8315fb30ee5ca4efd26d8784be8af07cd810813e72d9b0c9ae16725e09a5e6 Math-BaseCnv-1.14.tgz"