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

Felix Yan felixonmars at archlinux.org
Sat May 25 09:18:09 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:18:08
  Author: felixonmars
Revision: 470089

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 470088, 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 470088, perl-scalar-list-utils/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-05-25 09:18:08 UTC (rev 470089)
@@ -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.50
+pkgrel=3
+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