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

Evangelos Foutras foutrelis at archlinux.org
Thu Jun 1 11:03:51 UTC 2017


    Date: Thursday, June 1, 2017 @ 11:03:49
  Author: foutrelis
Revision: 232142

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

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

Copied: perl-io-all/repos/community-staging-any/PKGBUILD (from rev 232141, perl-io-all/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-06-01 11:03:49 UTC (rev 232142)
@@ -0,0 +1,43 @@
+# Packager: Justin Davis <jrcd83 at gmail.com>
+# $Id$
+
+pkgname=perl-io-all
+pkgver=0.86
+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="http://search.cpan.org/dist/IO-All/"
+source=("http://search.cpan.org/CPAN/authors/id/I/IN/INGY/IO-All-$pkgver.tar.gz")
+md5sums=('b257d3f742867825d018e74f5a5d549b')
+
+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