1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
4 pkgname=perl-file-slurp-tiny
7 pkgdesc="A simple, sane and efficient file slurper"
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
13 url='https://search.cpan.org/dist/File-Slurp-Tiny'
14 source=("https://search.cpan.org/CPAN/authors/id/L/LE/LEONT/File-Slurp-Tiny-$pkgver.tar.gz")
15 md5sums=('7575b81543281ea57cdb7e5eb3f73264')
18 cd "$srcdir/File-Slurp-Tiny-$pkgver"
19 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
24 cd "$srcdir/File-Slurp-Tiny-$pkgver"
30 cd "$srcdir/File-Slurp-Tiny-$pkgver"
31 make install DESTDIR="$pkgdir"
32 find "$pkgdir" -name '.packlist' -o -name '*.pod' -delete