# Description: parse directory listing
# URL: https://metacpan.org/pod/File::Listing
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: p5-http-date

name=p5-file-listing
version=6.16
release=1
source=(https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/File-Listing-$version.tar.gz)

build() {
  cd File-Listing-$version
  perl Makefile.PL INSTALLDIRS=vendor
  make
  make DESTDIR=$PKG install
  find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
}
