Date: Tuesday, May 19, 2020 @ 08:45:08 Author: felixonmars Revision: 386461
archrelease: copy trunk to staging-any Added: perl-extutils-libbuilder/repos/staging-any/ perl-extutils-libbuilder/repos/staging-any/PKGBUILD (from rev 386459, perl-extutils-libbuilder/trunk/PKGBUILD) ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Copied: perl-extutils-libbuilder/repos/staging-any/PKGBUILD (from rev 386459, perl-extutils-libbuilder/trunk/PKGBUILD) =================================================================== --- staging-any/PKGBUILD (rev 0) +++ staging-any/PKGBUILD 2020-05-19 08:45:08 UTC (rev 386461) @@ -0,0 +1,34 @@ +# Maintainer: Rémy Oudompheng <r...@archlinux.org> + +pkgname='perl-extutils-libbuilder' +_dist="ExtUtils-LibBuilder" +pkgver=0.08 +pkgrel=6 +pkgdesc="A tools to build C libraries" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +makedepends=('perl-module-build') +url="https://metacpan.org/release/${_dist}" +source=("https://search.cpan.org/CPAN/authors/id/A/AM/AMBS/${_dist}-${pkgver}.tar.gz") +sha1sums=('c15d93062c43bc83e1b3b0d52869bb0aa6919f2b') + +build() { + cd "${srcdir}/${_dist}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + perl Build.PL + ./Build +} + +check() { + cd "${srcdir}/${_dist}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + ./Build test +} + +package() { + cd "${srcdir}/${_dist}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + ./Build install installdirs=vendor destdir="$pkgdir" +}