blob: ed36959e548f32b5d97e7df44b8142d97f8b090c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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"
|