diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-05-01 04:11:20 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-05-01 04:11:20 -0300 |
commit | 6cbb4856878cd40a98b794d44c499ce24919ba9f (patch) | |
tree | 2519e02c824ebe19f49bca9c9e45c7d8542af72a /pcr/perl-list-allutils | |
parent | b9c634c914000edcc3faba77b668a883582c386c (diff) | |
download | abslibre-6cbb4856878cd40a98b794d44c499ce24919ba9f.tar.gz abslibre-6cbb4856878cd40a98b794d44c499ce24919ba9f.tar.bz2 abslibre-6cbb4856878cd40a98b794d44c499ce24919ba9f.zip |
add and update perl-* packages
Diffstat (limited to 'pcr/perl-list-allutils')
-rw-r--r-- | pcr/perl-list-allutils/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pcr/perl-list-allutils/PKGBUILD b/pcr/perl-list-allutils/PKGBUILD new file mode 100644 index 000000000..d3cc98f43 --- /dev/null +++ b/pcr/perl-list-allutils/PKGBUILD @@ -0,0 +1,38 @@ +# CPAN Name : List::AllUtils +# Contributor (Arch): Anton Leontiev <bunder /at/ t-25.ru> +# Generator (Arch): CPANPLUS::Dist::Arch 1.29 + +pkgname=perl-list-allutils +pkgver=0.09 +pkgrel=1 +pkgdesc='Perl package that combines List::Util and List::MoreUtils in one bite-sized package' +arch=('any') +url='http://search.cpan.org/dist/List-AllUtils' +license=('Artistic2.0') +depends=('perl>=5.19.3' 'perl-list-moreutils>=0.28') +checkdepends=('perl-test-warnings') +source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/List-AllUtils-$pkgver.tar.gz) +options=(!emptydirs) +md5sums=('3e2dfeeef80c4e1952443c6b7d48583c') + +build() { + cd List-AllUtils-$pkgver + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd List-AllUtils-$pkgver + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 + make test +} + +package() { + cd List-AllUtils-$pkgver + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + make install DESTDIR="$pkgdir" + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} |