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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 09:13:52 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:13:51
  Author: foutrelis
Revision: 470063

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 470062, perl-test-requiresinternet/trunk/PKGBUILD)

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

Copied: perl-test-requiresinternet/repos/community-staging-any/PKGBUILD (from rev 470062, perl-test-requiresinternet/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 09:13:51 UTC (rev 470063)
@@ -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=5
+pkgdesc="Easily test network connectivity"
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=(perl)
+makedepends=()
+url='http://search.mcpan.org/dist/Test-RequiresInternet'
+source=("http://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