description="parse directory listing"
url="http://search.cpan.org/"

packager="Grat-OS Team"

makedepends=(perl perl-http-date )
run=(perl)

name=perl-file-listing
version=6.16
release=3

source=(https://search.cpan.org/CPAN/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 '*.bs' -or \
	-name .packlist -or \
	-name perllocal.pod | xargs rm
}
