# Description: Perl Module Test::Exception : Functions for testing exceptionbased code
# URL: https://metacpan.org/pod/Test::Exception
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: p5-sub-uplevel

name=p5-test-exception
version=0.43
release=1
source=(https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Test-Exception-$version.tar.gz)

build() {
  cd Test-Exception-$version
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make DESTDIR=$PKG install
  find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
}
