# Maintainer: Leonardo Arena pkgname=perl-specio _pkgreal="Specio" pkgver=0.44 pkgrel=0 pkgdesc="Specio perl module" url="https://metacpan.org/release/Specio" arch="noarch" license="Artistic-2.0" depends="perl-test-needs perl-devel-stacktrace perl-eval-closure perl-mro-compat perl-role-tiny perl-test-fatal perl-module-runtime perl-sub-quote" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Specio-$pkgver.tar.gz" builddir="$srcdir"/$_pkgreal-$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="5292927383ff3eef3c32a81188a108c009367644117af23b31665550cc4b51d47f0bc0c6791dce3caebb27cd7a92307370f41afe62b65682205cd91b7e99cd43 Specio-0.44.tar.gz"