# Maintainer: Brian Bidulock pkgname=perl-file-blarf _cpanname=File-Blarf pkgver=0.12 pkgrel=1 pkgdesc="Perl/CPAN Module File::Blarf - Simple reading and writing of files" arch=(any) url="https://metacpan.org/release/$_cpanname" license=(PerlArtistic) options=('!emptydirs') source=("http://cpan.metacpan.org/authors/id/T/TE/TEX/$_cpanname-$pkgver.tar.gz") md5sums=('acf4abb13fdc033d888c61b5d101bad6') build() { cd "$srcdir/$_cpanname-$pkgver" # install module in vendor directories PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { cd "$srcdir/$_cpanname-$pkgver" make install DESTDIR="$pkgdir/" #remove perllocal.pod and .packlist find "$pkgdir" -name perllocal.pod -delete find "$pkgdir" -name .packlist -delete }