[arch-commits] Commit in perl-extutils-helpers/repos (2 files)

Felix Yan fyan at archlinux.org
Wed Jul 23 10:25:31 UTC 2014


    Date: Wednesday, July 23, 2014 @ 12:25:31
  Author: fyan
Revision: 116153

archrelease: copy trunk to community-any

Added:
  perl-extutils-helpers/repos/community-any/
  perl-extutils-helpers/repos/community-any/PKGBUILD
    (from rev 116152, perl-extutils-helpers/trunk/PKGBUILD)

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

Copied: perl-extutils-helpers/repos/community-any/PKGBUILD (from rev 116152, perl-extutils-helpers/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2014-07-23 10:25:31 UTC (rev 116153)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: xRemaLx <anton.komolov at gmail.com>
+
+pkgname=perl-extutils-helpers
+_pkgname=ExtUtils-Helpers
+pkgver=0.022
+pkgrel=2
+pkgdesc='ExtUtils::Helpers - Various portability utilities for module builders'
+arch=('any')
+license=('PerlArtistic' 'GPL')
+url="http://search.cpan.org/dist/ExtUtils-Helpers/"
+options=('!emptydirs')
+depends=('perl')
+source=("http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/${_pkgname}-${pkgver}.tar.gz")
+sha512sums=('ffdec8c1cf96daadfea34860bbd72d205620dec891d617721bb8ac242ccd2ba0cd5a5f50440633e03ae5fd575add6ac539c95ed68909a64a44b97ac2bba2bb39')
+
+build() {
+  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
+      PERL_AUTOINSTALL=--skipdeps                            \
+      PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
+      PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+      MODULEBUILDRC=/dev/null
+
+    cd "${srcdir}/${_pkgname}-${pkgver}"
+    /usr/bin/perl Makefile.PL
+    make
+  )
+}
+
+check() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+    make test
+  )
+}
+
+package() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  make install
+  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list