diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-05-30 19:37:12 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-05-30 19:37:12 (GMT) |
commit | 42afa7c26d357e4918130ad5f821a0d3f9a45fbd (patch) | |
tree | eb1984b26bcf1097d6a6d0d7e24f6136e1e73da9 /abs/core/perl_modules | |
parent | b70d287cc0202d48c25cf63f3067e504b317878b (diff) | |
download | linhes_pkgbuild-42afa7c26d357e4918130ad5f821a0d3f9a45fbd.zip linhes_pkgbuild-42afa7c26d357e4918130ad5f821a0d3f9a45fbd.tar.gz linhes_pkgbuild-42afa7c26d357e4918130ad5f821a0d3f9a45fbd.tar.bz2 |
perl-list-allutils: initial
Diffstat (limited to 'abs/core/perl_modules')
-rw-r--r-- | abs/core/perl_modules/perl-list-allutils/PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-list-allutils/PKGBUILD b/abs/core/perl_modules/perl-list-allutils/PKGBUILD new file mode 100644 index 0000000..2a14d9d --- /dev/null +++ b/abs/core/perl_modules/perl-list-allutils/PKGBUILD @@ -0,0 +1,39 @@ +# CPAN Name : List::AllUtils +# Contributor: Anton Leontiev <bunder /at/ t-25.ru> +# Generator : CPANPLUS::Dist::Arch 1.29 + +pkgname=perl-list-allutils +pkgver=0.14 +pkgrel=4 +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' 'perl-scalar-list-utils>=1.45' + 'perl-list-someutils' 'perl-list-utilsby') +checkdepends=('perl-test-warnings') +source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/List-AllUtils-$pkgver.tar.gz) +options=(!emptydirs) +sha256sums=('e45aa65927ae1975a000cc2fed14274627fa5e2bd09bab826a5f2c41d17ef6cd') + +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 +} |