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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 11:00:36 UTC 2019


    Date: Saturday, May 25, 2019 @ 11:00:36
  Author: foutrelis
Revision: 470327

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-list-someutils/repos/community-staging-any/PKGBUILD (from rev 470326, perl-list-someutils/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 11:00:36 UTC (rev 470327)
@@ -0,0 +1,38 @@
+# CPAN Name  : List::AllUtils
+# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
+# Generator  : CPANPLUS::Dist::Arch 1.29
+
+pkgname=perl-list-someutils
+pkgver=0.56
+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-SomeUtils'
+license=('Artistic2.0')
+depends=('perl' 'perl-module-implementation')
+checkdepends=('perl-test-warnings')
+source=(https://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/List-SomeUtils-$pkgver.tar.gz)
+options=(!emptydirs)
+sha256sums=('eaa7d99ce86380c0389876474c8eb84acc0a6bfeef1b0fc23a292592de6f89f7')
+
+build() {
+	cd List-SomeUtils-$pkgver
+	unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+	export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+	perl Makefile.PL INSTALLDIRS=vendor
+	make
+}
+
+check() {
+	cd List-SomeUtils-$pkgver
+	unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+	export PERL_MM_USE_DEFAULT=1
+	make test
+}
+
+package() {
+	cd List-SomeUtils-$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