# Contributor: A. Wilcox # Maintainer: Adélie Perl Team pkgname=perl-file-slurp pkgver=9999.24 pkgrel=0 pkgdesc="Simple and efficient file manipulation in Perl" url="https://metacpan.org/release/File-Slurp" arch="noarch" license="Artistic-1.0-Perl" depends="" makedepends="perl-dev" subpackages="$pkgname-doc" #source="https://cpan.metacpan.org/authors/id/U/UR/URI/File-Slurp-$pkgver.tar.gz" source="https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB/File-Slurp-$pkgver.tar.gz" builddir="$srcdir/File-Slurp-$pkgver" build() { cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { cd "$builddir" make test } package() { cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="b866b96384e07e735b8e52391a6a003be39fdf416855064c28e94d5fc28ccb90dc18dfb8db4bfe13e403f92544fb05a6a1feaa6f7bc5ca774d5074c23a64074c File-Slurp-9999.24.tar.gz"