# $Id$ # Maintainer: pkgname=perl-file-listing pkgver=6.04 pkgrel=4 pkgdesc="parse directory listing" arch=('any') url="http://search.cpan.org/dist/File-Listing" license=('PerlArtistic' 'GPL') depends=('perl' 'perl-http-date') options=('!emptydirs') source=("http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/File-Listing-${pkgver}.tar.gz") sha1sums=('02a41fe1b91f3f198712965360192f31d6d8d74e') build() { cd File-Listing-${pkgver} perl Makefile.PL INSTALLDIRS=vendor make } check() { cd File-Listing-${pkgver} make test } package() { cd File-Listing-${pkgver} make DESTDIR="$pkgdir" install }