[arch-commits] Commit in perl-test-requiresinternet/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Aug 1 09:13:22 UTC 2018
Date: Wednesday, August 1, 2018 @ 09:13:22
Author: foutrelis
Revision: 366317
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 366315, perl-test-requiresinternet/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: perl-test-requiresinternet/repos/community-staging-any/PKGBUILD (from rev 366315, perl-test-requiresinternet/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-08-01 09:13:22 UTC (rev 366317)
@@ -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=4
+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