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

Evangelos Foutras foutrelis at archlinux.org
Sun Jun 21 10:23:38 UTC 2020


    Date: Sunday, June 21, 2020 @ 10:23:38
  Author: foutrelis
Revision: 648911

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 648910, perl-scalar-list-utils/trunk/PKGBUILD)

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

Copied: perl-scalar-list-utils/repos/community-staging-x86_64/PKGBUILD (from rev 648910, perl-scalar-list-utils/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-06-21 10:23:38 UTC (rev 648911)
@@ -0,0 +1,42 @@
+# 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.55
+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=("https://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/Scalar-List-Utils-$pkgver.tar.gz")
+sha256sums=('4d2bdc1c72a7bc4d69d6a5cc85bc7566497c3b183c6175b832784329d58feb4b')
+
+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