Date: Saturday, May 25, 2019 @ 10:58:11 Author: foutrelis Revision: 354221
archrelease: copy trunk to staging-any Added: perl-extutils-libbuilder/repos/staging-any/ perl-extutils-libbuilder/repos/staging-any/PKGBUILD (from rev 354220, perl-extutils-libbuilder/trunk/PKGBUILD) ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Copied: perl-extutils-libbuilder/repos/staging-any/PKGBUILD (from rev 354220, perl-extutils-libbuilder/trunk/PKGBUILD) =================================================================== --- staging-any/PKGBUILD (rev 0) +++ staging-any/PKGBUILD 2019-05-25 10:58:11 UTC (rev 354221) @@ -0,0 +1,34 @@ +# Maintainer: Rémy Oudompheng <r...@archlinux.org> + +pkgname='perl-extutils-libbuilder' +_dist="ExtUtils-LibBuilder" +pkgver=0.08 +pkgrel=5 +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=("http://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" +}