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

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 10:48:18 UTC 2021


    Date: Monday, May 24, 2021 @ 10:48:18
  Author: foutrelis
Revision: 944342

archrelease: copy trunk to community-staging-any

Added:
  perl-list-allutils/repos/community-staging-any/
  perl-list-allutils/repos/community-staging-any/PKGBUILD
    (from rev 944341, perl-list-allutils/trunk/PKGBUILD)

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

Copied: perl-list-allutils/repos/community-staging-any/PKGBUILD (from rev 944341, perl-list-allutils/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 10:48:18 UTC (rev 944342)
@@ -0,0 +1,39 @@
+# CPAN Name  : List::AllUtils
+# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
+# Generator  : CPANPLUS::Dist::Arch 1.29
+
+pkgname=perl-list-allutils
+pkgver=0.16
+pkgrel=3
+pkgdesc='Perl package that combines List::Util and List::MoreUtils in one bite-sized package'
+arch=('any')
+url='https://search.cpan.org/dist/List-AllUtils'
+license=('Artistic2.0')
+depends=('perl>=5.19.3' 'perl-list-moreutils>=0.28' 'perl-scalar-list-utils>=1.45'
+	 'perl-list-someutils' 'perl-list-utilsby')
+checkdepends=('perl-test-warnings')
+source=(https://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/List-AllUtils-$pkgver.tar.gz)
+options=(!emptydirs)
+sha256sums=('559b3aa911c73003a3a1ebd860d3b16e171137de8203d86be63a2390364c63dd')
+
+build() {
+	cd List-AllUtils-$pkgver
+	unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+	export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+	/usr/bin/perl Makefile.PL INSTALLDIRS=vendor
+	make
+}
+
+check() {
+	cd List-AllUtils-$pkgver
+	unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+	export PERL_MM_USE_DEFAULT=1
+	make test
+}
+
+package() {
+	cd List-AllUtils-$pkgver
+	unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+	make install DESTDIR="$pkgdir"
+	find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}



More information about the arch-commits mailing list