Date: Sunday, May 29, 2022 @ 09:27:34 Author: foutrelis Revision: 1213952
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 1213951, perl-test-requiresinternet/trunk/PKGBUILD) ----------+ PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) Copied: perl-test-requiresinternet/repos/community-staging-any/PKGBUILD (from rev 1213951, perl-test-requiresinternet/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2022-05-29 09:27:34 UTC (rev 1213952) @@ -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=8 +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 +}