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

Evangelos Foutras foutrelis at archlinux.org
Sat Aug 26 10:52:34 UTC 2017


    Date: Saturday, August 26, 2017 @ 10:52:33
  Author: foutrelis
Revision: 253757

archrelease: copy trunk to community-staging-any

Added:
  perl-extutils-config/repos/community-staging-any/
  perl-extutils-config/repos/community-staging-any/PKGBUILD
    (from rev 253756, perl-extutils-config/trunk/PKGBUILD)

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

Copied: perl-extutils-config/repos/community-staging-any/PKGBUILD (from rev 253756, perl-extutils-config/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-08-26 10:52:33 UTC (rev 253757)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: xRemaLx <anton.komolov at gmail.com>
+
+pkgname=perl-extutils-config
+_pkgname=ExtUtils-Config
+pkgver=0.008
+pkgrel=3
+pkgdesc="ExtUtils::Config - A wrapper for perl's configuration"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+url="http://search.cpan.org/dist/ExtUtils-Config/"
+options=(!emptydirs)
+depends=('perl-data-dumper')
+makedepends=('perl')
+source=("http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/${_pkgname}-${pkgver}.tar.gz")
+sha512sums=('7775e2212b4605e60559c7e63604b8f2b4c56f4846e64f9f4454f3f5d0a7a21f618143e6c61eafabf5d9ee9bca8f722c04aedeaf9c51f59924de68c272b86db2')
+
+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