1 # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
2 # Contributor: Kaushal M <kshlmster@gmail.com>
4 pkgname=perl-file-finder
7 pkgdesc="Perl/CPAN Module File::Finder"
9 url='https://search.cpan.org/dist/File-Finder/'
10 license=('GPL' 'PerlArtistic')
12 options=('!emptydirs')
13 source=(https://search.cpan.org/CPAN/authors/id/M/ME/MERLYN/File-Finder-$pkgver.tar.gz)
14 sha256sums=('2ecbc19ac67a9e635c872a807a8d3eaaff5babc054f15a191d47cdfc5f176a74')
17 cd "${srcdir}"/File-Finder-$pkgver
19 PERL_MM_USE_DEFAULT=1 perl Makefile.PL installdirs=vendor
24 cd "${srcdir}"/File-Finder-$pkgver
26 make install DESTDIR="${pkgdir}"
28 find "${pkgdir}" -name '.packlist' -delete
29 find "${pkgdir}" -name '*.pod' -delete