# Maintainer: Erich Eckner # Generator : neuesPerlPaket (53a4b3dbf91e50da515b6ec94fbd3044454d68ce67b4faf1406dd314dbd1c658a8b69f094c8647bc8e977b1abc69e4a04d8a638eae1861c5a8a4c44d81770a8f) pkgname='perl-data-printer' pkgver=1.001000 pkgrel=2 pkgdesc='colored pretty-print of Perl data structures and objects' arch=('any') license=('PerlArtistic' 'GPL') options=('!emptydirs') depends=( 'perl>=5.38' 'perl<5.39' 'perl-file-temp' 'perl-pathtools' 'perl-scalar-list-utils' 'perl-test-simple' 'perl-version>=0.77') makedepends=( 'perl-extutils-makemaker') checkdepends=( 'perl-io-pty-easy' 'perl-yaml-syck' 'perl-file-which' 'perl-capture-tiny' 'perl-dbi' ) url='https://metacpan.org/release/Data-Printer' _distdir="Data-Printer-${pkgver}" source=("https://cpan.metacpan.org/authors/id/G/GA/GARU/${_distdir}.tar.gz") sha512sums=('bb10b42305d6c3f9672037979c3de55d07633a05c2e630c7649c148fd162c1fcd23eff7e5c7f564af182366181715c413844a0904d91000604360602e752ba5a') 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}/${_distdir}" perl Makefile.PL make ) } check() { cd "${srcdir}/${_distdir}" ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" make test ) } package() { cd "${srcdir}/${_distdir}" make install find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete }