# Description: Manage deprecation warnings for your distribution
# URL: https://metacpan.org/release/Package-DeprecationManager
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: p5-module-implementation p5-namespace-autoclean p5-package-stash p5-params-util p5-sub-install p5-sub-name

name=p5-package-deprecationmanager
version=0.18
release=1
source=(https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Package-DeprecationManager-$version.tar.gz)

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