# Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> pkgname=perl-moosex-role-parameterised _pkgreal=MooseX-Role-Parameterized _author=ETHER _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=1.10 pkgrel=0 pkgdesc="Perl Moose roles with composition parameters" url="https://metacpan.org/release/MooseX-Role-Parameterized" arch="noarch" license="Artistic-1.0-Perl" depends="perl perl-module-runtime perl-moose perl-namespace-autoclean perl-namespace-clean" checkdepends="perl-cpan-meta-check perl-dist-checkconflicts perl-test-fatal perl-test-requires" makedepends="perl-dev perl-module-build-tiny" provides="perl-moosex-role-parameterized=$pkgver-r$pkgrel" 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="10f6b51dd6e09c30e36496469c4a213e0ab6d12529e0b91161f680ae595b312e9dbff035d6c8a2d10dbff7fa55cf7ca6b53cd66b848f75f7e6ac43b6e6eb9e84 MooseX-Role-Parameterized-1.10.tar.gz"