# Maintainer: Charles Mauch # Contributor: Francois Charette pkgname=perl-file-chdir pkgver=0.1002 pkgrel=1 pkgdesc="a more sensible way to change directories " arch=('i686' 'x86_64') depends=('perl') url="http://search.cpan.org/dist/File-chdir" license=('GPL' 'PerlArtistic') options=('!emptydirs') source=(http://www.cpan.org/authors/id/D/DA/DAGOLDEN/File-chdir-$pkgver.tar.gz) build() { cd $startdir/src/File-chdir-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 make install DESTDIR=$startdir/pkg || return 1 find $startdir/pkg -name '.packlist' -delete find $startdir/pkg -name '*.pod' -delete } md5sums=('f510e8791e976cf517b010adc753ce1d')