# Contributor: Natanael Copa # Maintainer: Síle Ekaterin Liszka pkgname=perl-file-listing _pkgreal=File-Listing _author=PLICEASE _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=6.15 pkgrel=0 pkgdesc="Perl module for parsing directory lists in various formats" url="https://metacpan.org/release/File-Listing" arch="noarch" license="GPL-2.0-only OR Artistic-1.0-Perl" depends="perl-http-date" makedepends="" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="8368605bf196750f4044d87a8b784e6a28fa6fe6d5971c5de507b4df77859020dcba4929ce97f5091966a6a2fca94466a345450f2f9d2fad9fb88d880f491944 File-Listing-6.15.tar.gz"