# Automatically generated by apkbuild-cpan, template 1 # Contributor: Timo Teräs # Maintainer: Timo Teräs pkgname=perl-proc-wait3 _pkgreal=Proc-Wait3 pkgver=0.05 pkgrel=4 pkgdesc="Perl extension for wait3 system call" url="https://metacpan.org/release/Proc-Wait3/" arch="all" license="GPL PerlArtistic" cpandepends="" cpanmakedepends="" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/C/CT/CTILMES/$_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 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="6af398422cc79fb02f544226b22dcbd3b3b25ae186da4e5e2d9f3d172fa0c59c7813d404397a8f47f426bde04d7936d939241d197085277b5e57981ac7be274d Proc-Wait3-0.05.tar.gz"