1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
3 # Contributor: Firmicus <francois.archlinux.org>
8 pkgdesc="Parses and beautifies perl source"
10 url="https://search.cpan.org/dist/Perl-Tidy"
11 license=('GPL' 'PerlArtistic')
12 depends=('perl>=5.10.0')
13 options=('!emptydirs')
14 source=(https://www.cpan.org/authors/id/S/SH/SHANCOCK/Perl-Tidy-$pkgver.tar.gz)
15 sha256sums=('e22949a208c618d671a18c5829b451abbe9da0da2cddd78fdbfcb036c7361c18')
18 cd "${srcdir}"/Perl-Tidy-$pkgver
20 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
25 cd "${srcdir}"/Perl-Tidy-$pkgver
27 make install DESTDIR="${pkgdir}"
28 find "${pkgdir}" -name '.packlist' -delete
29 find "${pkgdir}" -name '*.pod' -delete