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

Felix Yan felixonmars at archlinux.org
Thu Jun 1 11:58:54 UTC 2017


    Date: Thursday, June 1, 2017 @ 11:58:53
  Author: felixonmars
Revision: 232214

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-extutils-installpaths/repos/community-staging-any/PKGBUILD (from rev 232213, perl-extutils-installpaths/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-06-01 11:58:53 UTC (rev 232214)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: xRemaLx <anton.komolov at gmail.com>
+
+pkgname=perl-extutils-installpaths
+_pkgname=ExtUtils-InstallPaths
+pkgver=0.011
+pkgrel=2
+pkgdesc="ExtUtils::InstallPaths - Build.PL install path logic made easy"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+url="http://search.cpan.org/dist/ExtUtils-InstallPaths/"
+options=('!emptydirs')
+depends=('perl' 'perl-extutils-config')
+source=("http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/${_pkgname}-${pkgver}.tar.gz")
+sha512sums=('c31bfce1ba1094f1408409d9a50406d7eb974ce43195e968fae51493a7fd3c7112d41af561435233b14d2396df297604ec0c264bab910566c046f9f7b5b3beb7')
+
+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