# Maintainer: Adélie Perl Team pkgname=perl-sub-install _pkgreal=Sub-Install _author=RJBS _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=0.928 pkgrel=0 pkgdesc="Install subroutines into packages easily" url="https://metacpan.org/release/Sub-Install" arch="noarch" license="GPL-1.0+ OR Artistic-1.0-Perl" depends="perl" makedepends="" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="3f25df9f5992075968830d4235e9f6520c526331b9180391e41483241d43253a61ad8dc381d77aaeb6c6fb841cfc5c097598e62abb46208894275c393a133ade Sub-Install-0.928.tar.gz"