# Description: Keep imports out of your namespace
# URL: https://metacpan.org/release/namespace-autoclean
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: p5-b-hooks-endofscope p5-namespace-clean p5-sub-identify

name=p5-namespace-autoclean
version=0.29
release=1
source=(https://cpan.metacpan.org/authors/id/E/ET/ETHER/namespace-autoclean-$version.tar.gz)

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