diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-02 18:54:05 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-02 18:54:05 +0000 |
commit | 32157de3e3cf994a898aaeb9208a839feeda3e46 (patch) | |
tree | 7c6f762d7d77cb75fa96a022baec441c4afba54e /user/perl-code-tidyall | |
parent | 5ff0030ec8f296527fbaa7fa6a2fb6ef82c7008c (diff) | |
download | packages-32157de3e3cf994a898aaeb9208a839feeda3e46.tar.gz packages-32157de3e3cf994a898aaeb9208a839feeda3e46.tar.bz2 packages-32157de3e3cf994a898aaeb9208a839feeda3e46.tar.xz packages-32157de3e3cf994a898aaeb9208a839feeda3e46.zip |
user/perl-code-tidyall: new package
Diffstat (limited to 'user/perl-code-tidyall')
-rw-r--r-- | user/perl-code-tidyall/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/user/perl-code-tidyall/APKBUILD b/user/perl-code-tidyall/APKBUILD new file mode 100644 index 000000000..ed36959e5 --- /dev/null +++ b/user/perl-code-tidyall/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-code-tidyall +pkgver=0.71 +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="b8d29eaceedf95ce8dc92142a861a7f552443dd713cbfe4a273bcbaa7222ec48646bde434e81cc209adde07d5a2f6e2d6b408e7427dfc574df0af884c8a61f92 Code-TidyAll-0.71.tar.gz" |