# Contributor: A. Wilcox # Maintainer: Adélie Perl Team pkgname=perl-file-slurp pkgver=9999.26 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="dbe49038400df7dc32ee97cd8bcd037b1f11dc6d1230a7db1e33651971716c0c5ab65dbcdf93399b42b5a1e61ffd5ade45b8e4abc7000bad619249231cb79e08 File-Slurp-9999.26.tar.gz"