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

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun May 29 10:19:05 UTC 2022


    Date: Sunday, May 29, 2022 @ 10:19:04
  Author: foutrelis
Revision: 446752

archrelease: copy trunk to staging-any

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

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

Copied: perl-io-socket-inet6/repos/staging-any/PKGBUILD (from rev 446751, perl-io-socket-inet6/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2022-05-29 10:19:04 UTC (rev 446752)
@@ -0,0 +1,49 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Generator  : CPANPLUS::Dist::Arch 1.18
+
+pkgname='perl-io-socket-inet6'
+pkgver=2.73
+pkgrel=2
+pkgdesc="Object interface for AF_INET|AF_INET6 domain sockets"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-socket6>=0.12')
+makedepends=()
+url='https://search.cpan.org/dist/IO-Socket-INET6'
+source=("https://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/IO-Socket-INET6-$pkgver.tar.gz")
+md5sums=('f77a9173ea49d928530d6a2df33990f7')
+sha512sums=('8d71b1fcb78b4338eb1973a2f9d1ccc539d6a6d83190b818df8ebcc43e978d7404eefedb51a7d6e0a64aa02375503325e8cd8723c7fec6dfdb277519b5a16b4b')
+_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