[arch-commits] Commit in (4 files)

Sergej Pupykin spupykin at archlinux.org
Fri Oct 14 08:33:31 UTC 2016


    Date: Friday, October 14, 2016 @ 08:33:31
  Author: spupykin
Revision: 192238

Added:
  perl-scalar-list-util/
  perl-scalar-list-util/repos/
  perl-scalar-list-util/trunk/
  perl-scalar-list-util/trunk/PKGBUILD

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Added: perl-scalar-list-util/trunk/PKGBUILD
===================================================================
--- perl-scalar-list-util/trunk/PKGBUILD	                        (rev 0)
+++ perl-scalar-list-util/trunk/PKGBUILD	2016-10-14 08:33:31 UTC (rev 192238)
@@ -0,0 +1,42 @@
+# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+# Generator  : CPANPLUS::Dist::Arch 1.32
+
+pkgname='perl-scalar-list-utils'
+pkgver=1.46
+pkgrel='1'
+pkgdesc=""
+arch=('i686' 'x86_64')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=()
+url='https://metacpan.org/release/Scalar-List-Utils'
+source=("http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/Scalar-List-Utils-$pkgver.tar.gz")
+md5sums=('91b581cec3dd3de016bca7bbb106063b')
+
+build() {
+  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
+      PERL_AUTOINSTALL=--skipdeps                            \
+      PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
+      PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+      MODULEBUILDRC=/dev/null
+
+    cd "$srcdir/Scalar-List-Utils-$pkgver"
+    /usr/bin/perl Makefile.PL
+    make
+  )
+}
+
+check() {
+  cd "$srcdir/Scalar-List-Utils-$pkgver"
+  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+    make test
+  )
+}
+
+package() {
+  cd "$srcdir/Scalar-List-Utils-$pkgver"
+  make install
+
+  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}



More information about the arch-commits mailing list