# Description: a more sensible way to change directories
# URL: https://metacpan.org/pod/File::chdir
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on:

name=p5-file-chdir
version=0.1011
release=1
source=(https://www.cpan.org/authors/id/D/DA/DAGOLDEN/File-chdir-$version.tar.gz)

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