1 # Maintainer: Caleb Maclennan< caleb@alerque.com>
2 # Contributor: Anton Leontiev <scileont@gmail.com>
5 pkgname=perl-${_cpan,,}
8 pkgdesc='Perl module providing cross-platform functions emulating common shell commands'
10 url="https://metacpan.org/release/$_cpan"
11 license=(GPL PerlArtistic)
14 _archive="$_cpan-$pkgver"
15 source=("https://cpan.perl.org/modules/by-module/${_cpan%-*}/$_archive.tar.gz")
16 sha256sums=('f3e4deef577944be46fa7af5ac118ac2828911788b01bc76a74495355616ecd1')
20 unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
21 export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
28 unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
29 export PERL_MM_USE_DEFAULT=1
35 unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
36 make install INSTALLDIRS=vendor DESTDIR="$pkgdir"