[arch-commits] Commit in perl-module-implementation/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Wed Aug 1 11:17:05 UTC 2018


    Date: Wednesday, August 1, 2018 @ 11:17:04
  Author: foutrelis
Revision: 366495

archrelease: copy trunk to community-staging-any

Added:
  perl-module-implementation/repos/community-staging-any/
  perl-module-implementation/repos/community-staging-any/PKGBUILD
    (from rev 366493, perl-module-implementation/trunk/PKGBUILD)

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

Copied: perl-module-implementation/repos/community-staging-any/PKGBUILD (from rev 366493, perl-module-implementation/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-08-01 11:17:04 UTC (rev 366495)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: 3ED <krzysztof1987 at gmail dot com>
+
+pkgname=perl-module-implementation
+pkgver=0.09
+pkgrel=4
+pkgdesc="Loads one of several alternate underlying implementations for a module"
+arch=('any')
+license=('PerlArtistic')
+options=('!emptydirs')
+depends=('perl-module-runtime>=0.012' 'perl-try-tiny')
+checkdepends=('perl-test-requires' 'perl-test-fatal')
+url="http://search.cpan.org/dist/Module-Implementation/"
+source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Module-Implementation-$pkgver.tar.gz)
+md5sums=('52e3fe0ca6b1eff0488d59b7aacc0667')
+
+build() {
+  cd "${srcdir}/Module-Implementation-${pkgver}"
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps" \
+    PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$pkgdir"'" \
+    PERL_MB_OPT="--installdirs vendor --destdir '"$pkgdir"'" \
+    MODULEBUILDRC=/dev/null
+  perl Makefile.PL
+  make
+}
+
+check() {
+  cd "${srcdir}/Module-Implementation-${pkgver}"
+  make test
+}
+
+package() {
+  cd "${srcdir}/Module-Implementation-${pkgver}"
+  make install
+  find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete
+}



More information about the arch-commits mailing list