22 lines
480 B
Plaintext
22 lines
480 B
Plaintext
|
# Description: parse directory listing
|
||
|
# URL: http://search.cpan.org/
|
||
|
# Packager: pierre at nutyx dot org
|
||
|
# Depends on: perl perl-http-date
|
||
|
run=( perl )
|
||
|
name=perl-file-listing
|
||
|
version=6.04
|
||
|
release=1
|
||
|
|
||
|
source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/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
|
||
|
}
|