1 # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
3 pkgname=perl-test-perltidy
6 pkgdesc="CPAN Test::PerlTidy module"
8 url='https://search.cpan.org/dist/Test-PerlTidy-20130104/'
9 license=('GPL' 'PerlArtistic')
10 depends=('perl' 'perl-text-diff' 'perl-file-slurp' 'perl-tidy' 'perl-file-finder')
11 options=('!emptydirs')
12 source=(https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Test-PerlTidy-$pkgver.tar.gz)
13 sha256sums=('c0e242110795795d4dbb6c44166ce5574f5c7edba78a789d1bcae76685d803c1')
16 cd "${srcdir}"/Test-PerlTidy-$pkgver
18 PERL_MM_USE_DEFAULT=1 perl Makefile.PL installdirs=vendor
23 cd "${srcdir}"/Test-PerlTidy-$pkgver
25 make install DESTDIR="${pkgdir}"
27 find "${pkgdir}" -name '.packlist' -delete
28 find "${pkgdir}" -name '*.pod' -delete