1 # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
2 # Contributor: John D Jones III
4 pkgname=perl-module-manifest
7 pkgdesc="Parse and examine a Perl distribution MANIFEST file"
9 url='https://search.cpan.org/dist/Module-Manifest/'
10 license=('GPL' 'PerlArtistic')
11 depends=('perl' 'perl-params-util' 'perl' 'perl-file-slurp')
12 checkdepends=('perl-test-exception' 'perl-test-warn')
13 options=('!emptydirs')
14 source=(https://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Module-Manifest-$pkgver.tar.gz)
15 sha256sums=('a395f80ff15ea0e66fd6c453844b6787ed4a875a3cd8df9f7e29280250bd539b')
18 cd "${srcdir}"/Module-Manifest-$pkgver
20 PERL_USE_UNSAFE_INC=1 PERL_MM_USE_DEFAULT=1 perl Makefile.PL installdirs=vendor
25 cd "${srcdir}"/Module-Manifest-$pkgver
31 cd "${srcdir}"/Module-Manifest-$pkgver
33 make install DESTDIR="${pkgdir}"
35 find "${pkgdir}" -name '.packlist' -delete
36 find "${pkgdir}" -name '*.pod' -delete