blob: 093e078e4fd5d9286aa9a07a830a49672b18030f (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-code-tidyall
_pkgreal=Code-TidyAll
_author=DROLSKY
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.84
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="b1ce060e81b42f80bebec3ea28613fd54b8948df6c22939b2a274b96bcb3c3a36bf3c3d15c8459c377bf98cf6e56258df1eefe75580c46a284d8186c5110cbc5 Code-TidyAll-0.84.tar.gz"
|