# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=perl-test-sharedfork pkgver=0.35 pkgrel=5 pkgdesc='Utility module for Test::Builder' arch=('any') license=('PerlArtistic' 'GPL') options=('!emptydirs') depends=('perl-test-requires' 'perl>=5.008_001') makedepends=() url='https://metacpan.org/release/Test-SharedFork' source=("http://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/Test-SharedFork-$pkgver.tar.gz") sha512sums=('e5948dfb34cfaf35a2fb2783c726f1cea2ae2f4bbdc4cbb912f83c877422ceabb3e0323c8c669b3c3a08e6d2a12106309528f0f674657001e6aeb3cb3c1dfd9f') _distdir="Test-SharedFork-$pkgver" 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 $_distdir /usr/bin/perl Makefile.PL make ) } package() { cd $_distdir make install find "$pkgdir" -name .packlist -o -name perllocal.pod -delete }