# Contributor: A. Wilcox # Maintainer: Adélie Perl Team pkgname=perl-specio-library-path-tiny _pkgreal=Specio-Library-Path-Tiny _author=DROLSKY _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=0.04 pkgrel=0 pkgdesc="Path::Tiny types and coercions for Specio" url="https://metacpan.org/release/Specio-Library-Path-Tiny" arch="noarch" license="Apache-2.0" depends="perl perl-file-pushd perl-path-tiny perl-specio" makedepends="perl-dev" 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="22ecd74d31a2ee4be2deac887b178d571c31aac1867838b38cb362ee6f5deaf3082282d39241a3432bfc14db86651a13283be68b0e23e224cf8ff502503d17de Specio-Library-Path-Tiny-0.04.tar.gz"