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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 09:27:42 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:27:41
  Author: foutrelis
Revision: 470150

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 470149, perl-extutils-installpaths/trunk/PKGBUILD)

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

Copied: perl-extutils-installpaths/repos/community-staging-any/PKGBUILD (from rev 470149, perl-extutils-installpaths/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 09:27:41 UTC (rev 470150)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: xRemaLx <anton.komolov at gmail.com>
+
+pkgname=perl-extutils-installpaths
+_pkgname=ExtUtils-InstallPaths
+pkgver=0.012
+pkgrel=3
+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=('92a4e9ebb387d330ae67b0716b96b27165d08503d2915d8301b3a6aa185f962940e761d21fd400033e6a814e276918e0662da3740ca2852a53cf0fe54f3d7660')
+
+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