# Contributor: Adélie Perl Team <adelie-perl@lists.adelielinux.org> # Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> pkgname=perl-moox-struct _pkgreal=MooX-Struct _author=TOBYINK _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=0.020 pkgrel=0 pkgdesc="Structures for the Moo Perl object framework" url="https://metacpan.org/pod/MooX::Struct" arch="noarch" license="Artistic-2.0 OR GPL-2.0-only" depends="perl perl-moo perl-namespace-autoclean perl-object-id perl-type-tiny" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/MooX-Struct-$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="a9a14efee9db43b39df02b452aed7f558360812c28581cc245ed8eea68fc328b40fee6a9c8949851048ee6fff3ec9aa99beb5ab63845f9bcb83d9c9d1c7e712e MooX-Struct-0.020.tar.gz"