archrelease: copy trunk to community-any
[ArchLinux/community.git] / perl-module-manifest / repos / community-any / PKGBUILD
blobc5a804b6cdb341c374e0f3206d6b0575e32aa339
1 # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
2 # Contributor: John D Jones III
4 pkgname=perl-module-manifest
5 pkgver=1.09
6 pkgrel=1
7 pkgdesc="Parse and examine a Perl distribution MANIFEST file"
8 arch=('any')
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')
17 build() {
18   cd "${srcdir}"/Module-Manifest-$pkgver
20   PERL_USE_UNSAFE_INC=1 PERL_MM_USE_DEFAULT=1 perl Makefile.PL installdirs=vendor
21   make
24 check() {
25   cd "${srcdir}"/Module-Manifest-$pkgver
27   make test
30 package() {
31   cd "${srcdir}"/Module-Manifest-$pkgver
33   make install DESTDIR="${pkgdir}"
35   find "${pkgdir}" -name '.packlist' -delete
36   find "${pkgdir}" -name '*.pod' -delete