milis/talimatname/genel/perl-path-class/talimat

28 lines
697 B
Plaintext

# Description: Cross-platform path specification manipulation
# URL: http://search.cpan.org/
# Packager: pierre at nutyx dot org
# Depends on: perl
run=( perl )
name=perl-path-class
version=0.33
release=1
source=(http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Path-Class-$version.tar.gz)
build() {
export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor" \
PERL_MB_OPT="--installdirs vendor" \
MODULEBUILDRC=/dev/null
cd Path-Class-$version
perl Makefile.PL
make
make DESTDIR=$PKG install
find $PKG \
-name '*.bs' -or \
-name .packlist -or \
-name perllocal.pod | xargs rm
}