[arch-commits] Commit in perl-scalar-list-utils/repos (2 files)

Florian Pritz bluewind at archlinux.org
Wed Aug 1 09:09:06 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:09:06
  Author: bluewind
Revision: 366276

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-scalar-list-utils/repos/community-staging-x86_64/
  perl-scalar-list-utils/repos/community-staging-x86_64/PKGBUILD
    (from rev 366275, perl-scalar-list-utils/trunk/PKGBUILD)

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

Copied: perl-scalar-list-utils/repos/community-staging-x86_64/PKGBUILD (from rev 366275, perl-scalar-list-utils/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-08-01 09:09:06 UTC (rev 366276)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+
+pkgname='perl-scalar-list-utils'
+pkgver=1.50
+pkgrel=2
+pkgdesc="A selection of general-utility list subroutines"
+arch=('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")
+sha256sums=('06aab9c693380190e53be09be7daed20c5d6278f71956989c24cca7782013675')
+
+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"
+    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