# Automatically generated by apkbuild-cpan, template 1 # Contributor: Timo Teräs # Maintainer: Timo Teräs pkgname=perl-file-slurp _pkgreal=File-Slurp pkgver=9999.25 pkgrel=0 pkgdesc="Simple and Efficient Reading/Writing/Modifying of Complete Files" url="http://search.cpan.org/dist/File-Slurp/" arch="noarch" license="GPL PerlArtistic" cpandepends="" cpanmakedepends="" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { cd "$builddir" make } check() { cd "$builddir" make test } package() { cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="cea59f2aecfe314540c1022c44ce85d5d53a3c69273b71a727acbfacbd09a9e45ef435c61b28d8d883a758e29c296ca98167dceed74bbf3a278fe5fa7019ce8a File-Slurp-9999.25.tar.gz"