# Maintainer: Sergej Pupykin # This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman # Contributor: François Charette pkgname=perl-file-slurp pkgver=9999.32 pkgrel=3 pkgdesc="Read/write/append files quickly" arch=('any') url="https://search.cpan.org/dist/File-Slurp" license=('GPL' 'PerlArtistic') depends=('perl>=5.14.0') options=('!emptydirs') source=(https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB/File-Slurp-$pkgver.tar.gz) sha256sums=('4c3c21992a9d42be3a79dd74a3c83d27d38057269d65509a2f555ea0fb2bc5b0') build() { cd "$srcdir"/File-Slurp-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { cd "$srcdir"/File-Slurp-$pkgver make install DESTDIR="$pkgdir" find "$pkgdir" -name '.packlist' -delete find "$pkgdir" -name '*.pod' -delete }