[arch-commits] Commit in perl-extutils-helpers/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Jun 21 10:15:03 UTC 2020
Date: Sunday, June 21, 2020 @ 10:15:03
Author: foutrelis
Revision: 648847
archrelease: copy trunk to community-staging-any
Added:
perl-extutils-helpers/repos/community-staging-any/
perl-extutils-helpers/repos/community-staging-any/PKGBUILD
(from rev 648846, perl-extutils-helpers/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: perl-extutils-helpers/repos/community-staging-any/PKGBUILD (from rev 648846, perl-extutils-helpers/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-06-21 10:15:03 UTC (rev 648847)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: xRemaLx <anton.komolov at gmail.com>
+
+pkgname=perl-extutils-helpers
+_pkgname=ExtUtils-Helpers
+pkgver=0.026
+pkgrel=6
+pkgdesc='ExtUtils::Helpers - Various portability utilities for module builders'
+arch=('any')
+license=('PerlArtistic' 'GPL')
+url="https://search.cpan.org/dist/ExtUtils-Helpers/"
+options=('!emptydirs')
+depends=('perl')
+source=("https://search.cpan.org/CPAN/authors/id/L/LE/LEONT/${_pkgname}-${pkgver}.tar.gz")
+sha512sums=('372d801f43003c571758823a84bfe418876f1b48e3d8c35f888ca41469f6771a33aa30cf893a4c4a68ea62c6e8c8c6ab2ef44ee783dbf9f25e18bc0389359399')
+
+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