blob: 3f71842f4cddce78658f4e14329828671f8a552b (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-code-tidyall
pkgver=0.72
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"
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"
makedepends="perl-dev"
checkdepends="perl-lib-relative perl-test-class-most perl-test-differences
perl-test-fatal perl-test-warnings"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Code-TidyAll-$pkgver.tar.gz"
builddir="$srcdir/Code-TidyAll-$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="651b1623db1a96f2b6d87f4410cf0cec038459a31a30adb8e96db71e7a4b49359056f43f2119f8d404c2c384efeaba9fa671b63a9469c69d4ba874fb1673ae15 Code-TidyAll-0.72.tar.gz"
|