[arch-commits] Commit in perl-test-requiresinternet/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon May 24 08:34:40 UTC 2021


    Date: Monday, May 24, 2021 @ 08:34:40
  Author: felixonmars
Revision: 943988

archrelease: copy trunk to community-staging-any

Added:
  perl-test-requiresinternet/repos/community-staging-any/
  perl-test-requiresinternet/repos/community-staging-any/PKGBUILD
    (from rev 943986, perl-test-requiresinternet/trunk/PKGBUILD)

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

Copied: perl-test-requiresinternet/repos/community-staging-any/PKGBUILD (from rev 943986, perl-test-requiresinternet/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 08:34:40 UTC (rev 943988)
@@ -0,0 +1,42 @@
+# Maintainer:
+# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+# Generator  : CPANPLUS::Dist::Arch 1.28
+
+pkgname=perl-test-requiresinternet
+pkgver=0.05
+pkgrel=7
+pkgdesc="Easily test network connectivity"
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=(perl)
+makedepends=()
+url='https://search.mcpan.org/dist/Test-RequiresInternet'
+source=("https://search.mcpan.org/CPAN/authors/id/M/MA/MALLEN/Test-RequiresInternet-$pkgver.tar.gz")
+sha256sums=('bba7b32a1cc0d58ce2ec20b200a7347c69631641e8cae8ff4567ad24ef1e833e')
+_distdir="Test-RequiresInternet-$pkgver"
+
+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 $_distdir
+  /usr/bin/perl Makefile.PL
+  make
+}
+
+check() {
+  cd $_distdir
+  export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+  make test
+}
+
+package() {
+  cd $_distdir
+  make install
+
+  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}



More information about the arch-commits mailing list