[arch-commits] Commit in perl-io-all/repos (2 files)

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


    Date: Saturday, May 25, 2019 @ 09:09:32
  Author: foutrelis
Revision: 470019

archrelease: copy trunk to community-staging-any

Added:
  perl-io-all/repos/community-staging-any/
  perl-io-all/repos/community-staging-any/PKGBUILD
    (from rev 470017, perl-io-all/trunk/PKGBUILD)

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

Copied: perl-io-all/repos/community-staging-any/PKGBUILD (from rev 470017, perl-io-all/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 09:09:32 UTC (rev 470019)
@@ -0,0 +1,42 @@
+# Packager: Justin Davis <jrcd83 at gmail.com>
+
+pkgname=perl-io-all
+pkgver=0.87
+pkgrel=2
+pkgdesc="IO::All of it to Graham and Damian!"
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=('perl>=5.6.1' 'perl-io-string>=1.08')
+url="https://search.cpan.org/dist/IO-All/"
+source=("https://cpan.metacpan.org/authors/id/F/FR/FREW/IO-All-$pkgver.tar.gz")
+sha256sums=('54e21d250c0229127e30b77a3461e10077854ec244f26fb670f1b445ed4c4d5b')
+
+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 "${srcdir}/IO-All-${pkgver}"
+  perl Makefile.PL
+  make
+}
+
+check() {
+  export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+  cd "${srcdir}/IO-All-${pkgver}"
+  make test
+}
+
+package() {
+  cd "${srcdir}/IO-All-${pkgver}"
+  make DESTDIR="$pkgdir" install
+}
+
+# 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