summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-05-30 19:33:05 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-05-30 19:33:05 (GMT)
commit1acaa22b54ed0b9e5bbc101c731d6b8ac731f584 (patch)
tree1b29d52a017b7f53eac89240452e7d01bad3a349 /abs/core/perl_modules
parentefbd4ba3fd3d4a7e5c78b4397fdf40d42dc9e1ad (diff)
downloadlinhes_pkgbuild-1acaa22b54ed0b9e5bbc101c731d6b8ac731f584.zip
linhes_pkgbuild-1acaa22b54ed0b9e5bbc101c731d6b8ac731f584.tar.gz
linhes_pkgbuild-1acaa22b54ed0b9e5bbc101c731d6b8ac731f584.tar.bz2
perl-list-someutils: initial
Diffstat (limited to 'abs/core/perl_modules')
-rw-r--r--abs/core/perl_modules/perl-list-someutils/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-list-someutils/PKGBUILD b/abs/core/perl_modules/perl-list-someutils/PKGBUILD
new file mode 100644
index 0000000..e40fca7
--- /dev/null
+++ b/abs/core/perl_modules/perl-list-someutils/PKGBUILD
@@ -0,0 +1,38 @@
+# CPAN Name : List::AllUtils
+# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
+# Generator : CPANPLUS::Dist::Arch 1.29
+
+pkgname=perl-list-someutils
+pkgver=0.56
+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-SomeUtils'
+license=('Artistic2.0')
+depends=('perl' 'perl-module-implementation')
+checkdepends=('perl-test-warnings')
+source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/List-SomeUtils-$pkgver.tar.gz)
+options=(!emptydirs)
+sha256sums=('eaa7d99ce86380c0389876474c8eb84acc0a6bfeef1b0fc23a292592de6f89f7')
+
+build() {
+ cd List-SomeUtils-$pkgver
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd List-SomeUtils-$pkgver
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1
+ make test
+}
+
+package() {
+ cd List-SomeUtils-$pkgver
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}