# Maintainer: Sergej Pupykin # Maintainer: Charles Mauch pkgname=perl-test-exception pkgver=0.43 pkgrel=8 pkgdesc="Perl/CPAN Module Test::Exception : Functions for testing exceptionbased code" arch=("any") url="https://search.cpan.org/dist/Test-Exception/" license=("GPL" "PerlArtistic") depends=("perl-sub-uplevel") source=("https://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/Test-Exception-$pkgver.tar.gz") sha256sums=('156b13f07764f766d8b45a43728f2439af81a3512625438deab783b7883eb533') build() { cd "$srcdir"/Test-Exception-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { cd "$srcdir"/Test-Exception-$pkgver make install DESTDIR="$pkgdir" find "$pkgdir" -name '.packlist' -delete find "$pkgdir" -name '*.pod' -delete }