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

28 lines
670 B
Plaintext
Raw Normal View History

2017-04-10 15:26:08 +02:00
# Description: Çapraz platform yol belirtimi manipülasyonu
2016-02-24 01:27:23 +01:00
# URL: http://search.cpan.org/
2017-04-10 15:26:08 +02:00
# Packager: milisarge
2016-02-24 01:27:23 +01:00
# Depends on: perl
2017-04-10 15:26:08 +02:00
2016-02-24 01:27:23 +01:00
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
}