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

Felix Yan felixonmars at archlinux.org
Sun Jun 21 10:13:51 UTC 2020


    Date: Sunday, June 21, 2020 @ 10:13:50
  Author: felixonmars
Revision: 648840

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 648839, perl-io-all/trunk/PKGBUILD)

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

Copied: perl-io-all/repos/community-staging-any/PKGBUILD (from rev 648839, perl-io-all/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-06-21 10:13:50 UTC (rev 648840)
@@ -0,0 +1,42 @@
+# Packager: Justin Davis <jrcd83 at gmail.com>
+
+pkgname=perl-io-all
+pkgver=0.87
+pkgrel=3
+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