[arch-commits] Commit in perl-scalar-list-utils/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon May 24 08:35:18 UTC 2021
Date: Monday, May 24, 2021 @ 08:35:18
Author: foutrelis
Revision: 944007
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 944005, 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 944005, perl-scalar-list-utils/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-05-24 08:35:18 UTC (rev 944007)
@@ -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.56
+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=('15b8537d40fb3e6dae64b2e7e983c47a99b2c20816a180bb9c868b787a12ab5b')
+
+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