Date: Sunday, June 21, 2020 @ 10:56:47 Author: felixonmars Revision: 389791
archrelease: copy trunk to staging-any Added: perl-data-compare/repos/staging-any/ perl-data-compare/repos/staging-any/PKGBUILD (from rev 389790, perl-data-compare/trunk/PKGBUILD) ----------+ PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) Copied: perl-data-compare/repos/staging-any/PKGBUILD (from rev 389790, perl-data-compare/trunk/PKGBUILD) =================================================================== --- staging-any/PKGBUILD (rev 0) +++ staging-any/PKGBUILD 2020-06-21 10:56:47 UTC (rev 389791) @@ -0,0 +1,40 @@ +# Maintainer: Rémy Oudompheng <r...@archlinux.org> +# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator : CPANPLUS::Dist::Arch 1.32 + +pkgname='perl-data-compare' +_dist=Data-Compare +pkgver=1.25 +pkgrel=8 +pkgdesc="compare perl data structures" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-file-find-rule>=0.1') +checkdepends=('perl-test-pod' 'perl-json' 'perl-clone') +makedepends=() +url='https://metacpan.org/release/Data-Compare' +source=("https://search.cpan.org/CPAN/authors/id/D/DC/DCANTRELL/Data-Compare-${pkgver}.tar.gz") +md5sums=('6a397ab5833237f3ca05ed7277b19a7a') +sha512sums=('6db1235672030aa1afe52de1de9fac1f8a2af9eed99a3143d6c5b30669908125f584638fe06b8b33208f6d7fb734ccec7381c9411408a3f4fde1998707f748c9') + +build() { + cd "${srcdir}/${_dist}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + perl Makefile.PL + make +} + +check() { + cd "${srcdir}/${_dist}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 + make test +} + +package() { + cd "${srcdir}/${_dist}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + make install INSTALLDIRS=vendor DESTDIR="$pkgdir" +}