[arch-commits] Commit in perl-io-socket-inet6/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Wed Aug 1 09:25:42 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:25:42
  Author: foutrelis
Revision: 330081

archrelease: copy trunk to staging-any

Added:
  perl-io-socket-inet6/repos/staging-any/
  perl-io-socket-inet6/repos/staging-any/PKGBUILD
    (from rev 330080, perl-io-socket-inet6/trunk/PKGBUILD)

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

Copied: perl-io-socket-inet6/repos/staging-any/PKGBUILD (from rev 330080, perl-io-socket-inet6/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-08-01 09:25:42 UTC (rev 330081)
@@ -0,0 +1,49 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Generator  : CPANPLUS::Dist::Arch 1.18
+
+pkgname='perl-io-socket-inet6'
+pkgver=2.72
+pkgrel=4
+pkgdesc="Object interface for AF_INET|AF_INET6 domain sockets"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-socket6>=0.12')
+makedepends=()
+url='http://search.cpan.org/dist/IO-Socket-INET6'
+source=("http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/IO-Socket-INET6-$pkgver.tar.gz")
+md5sums=('510ddc1bd75a8340ca7226123fb545c1')
+sha512sums=('c6dc0bbcc81682d317597de26d5023de84781e4bd2af224145cc4980db7fcbc93295a7d0a80c1eaa649c6aebf4057d0b0159f47e6a6379d4b545b49305f28a37')
+_distdir="IO-Socket-INET6-$pkgver"
+
+build() {
+  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
+      PERL_AUTOINSTALL=--skipdeps                            \
+      PERL_MM_OPT="INSTALLDIRS=vendor"     \
+      PERL_MB_OPT="--installdirs vendor" \
+      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 DESTDIR="$pkgdir" install
+  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list