description="Lightweight,taint-safe file finding module"
url="http://search.cpan.org/dist/File-Next/"

packager="Grat-OS Team"

makedepends=(perl)
run=(perl)

name=perl-file-next
version=1.18
release=2

source=(http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/File-Next-$version.tar.gz)

build() {
cd File-Next-$version

perl Makefile.PL INSTALLDIRS=vendor

make
make DESTDIR=$PKG install

# Remove .packlist if present in the package
find $PKG -name '.packlist' -delete
}
