# Contributor: A. Wilcox # Maintainer: Síle Ekaterin Liszka pkgname=perl-code-tidyall _pkgreal=Code-TidyAll _author=DROLSKY _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=0.83 pkgrel=0 pkgdesc="Your all-in-one Perl code tidier and validator" url="https://metacpan.org/release/Code-TidyAll" arch="noarch" license="Artistic-1.0-Perl OR GPL-1.0+" depends="perl-capture-tiny perl-config-ini perl-file-pushd perl-file-which perl-ipc-run3 perl-ipc-system-simple perl-list-compare perl-list-someutils perl-log-any perl-module-runtime perl-moo perl-path-tiny perl-scope-guard perl-specio perl-specio-library-path-tiny perl-text-diff perl-timedate perl-time-duration-parse perl-try-tiny" checkdepends="perl-lib-relative perl-test-class-most perl-test-differences perl-test-fatal perl-test-warnings" 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="6d06c8b0afd5d4fb67985abbf9ba69e565761c25738682c4ecfde7de8a8b06fdc8397fa9e438c84012475437de74d14db0ec456a007b968995d71415d5adfc83 Code-TidyAll-0.83.tar.gz"