# Contributor: Dan Theisen <djt@hxx.in> # Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> pkgname=perl-mouse _pkgreal=Mouse _author=SKAJI _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=2.5.9 pkgrel=0 pkgdesc="Moose minus the antlers" url="https://metacpan.org/pod/Mouse" arch="all" license="Artistic-1.0-Perl AND GPL-2.0" depends="perl" makedepends="perl-dev perl-module-build-xsutil" checkdepends="perl-test-exception perl-test-fatal perl-test-leaktrace perl-test-output perl-test-requires perl-try-tiny" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-v$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-v$pkgver" build() { perl Build.PL installdirs=vendor ./Build } check() { # most, but not all functionality is tested ./Build test } package() { ./Build install destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="e817eecaeccb979c1b78819b61724ebaad9f938d82b76ad7b73a8bfe2f5e1c63a2cd8e8439bcededd17be4770af6bfa98b594e58278e0388272dbd5d416ea6c0 Mouse-v2.5.9.tar.gz"