# Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> pkgname=perl-specio _pkgreal=Specio _author=DROLSKY _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=0.47 pkgrel=0 pkgdesc="Type constraints and coercions for Perl" url="https://metacpan.org/release/Specio" arch="noarch" license="Artistic-2.0" depends="perl-devel-stacktrace perl-eval-closure perl-mro-compat perl-module-runtime perl-role-tiny perl-sub-quote perl-test-fatal perl-try-tiny perl-xstring" checkdepends="perl-test-needs" makedepends="" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { 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="68cdcf22818b27c38ce92b497adae81f27605aa385e9156d51d5e8e63da121d6bf26b7339a7ee3c9408cc6e3731702b008bc4b2e3c8eab67728f959f03682f44 Specio-0.47.tar.gz"