summaryrefslogblamecommitdiff
path: root/user/perl-code-tidyall/APKBUILD
blob: 04004a4a95e3d0d35f96f33f09a339b98281caa7 (plain) (tree)
1
2
3
4


                                                                   
           


















                                                                                      




                                                                 



                 



                                                                           
                                                                                                                                                                       
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-code-tidyall
pkgver=0.74
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() {
	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="0b306814cfc87b27a3dc34ccb855b65f7cc072ace6f9862596a94c5a9cb89978d38645c74382bd8c41ba21c8134d830f552daa5cb1453593940458bba019f3b1  Code-TidyAll-0.74.tar.gz"