# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista # Maintainer: Adélie Perl Team pkgname=perl-module-build _pkgreal=Module-Build _author=LEONT _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=0.4229 pkgrel=0 pkgdesc="Build and install Perl modules" url="https://metacpan.org/release/Module-Build" arch="noarch" license="GPL-2.0-only AND Artistic-1.0-Perl" depends="perl" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { perl Build.PL --installdirs=vendor ./Build } check() { ./Build test } package() { ./Build install --destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="51e0d73cecf450062121c3223b1a4c6f8a8c260fc2345d1c1a5e13ddcbd2b7bc2578411ac254420e27720b9e00a8efc9a9daa3159e9cba5338a188734b35c738 Module-Build-0.4229.tar.gz"