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

28 lines
670 B
Plaintext

# Description: Çapraz platform yol belirtimi manipülasyonu
# URL: http://search.cpan.org/
# Packager: milisarge
# Depends on: 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
}