blob: f53fc11f240fbcba7c76cf01c2582c01d1cbc04b (
plain) (
tree)
|
|
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-mouse
pkgver=2.5.7
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/S/SK/SKAJI/Mouse-v$pkgver.tar.gz"
builddir="$srcdir/Mouse-v$pkgver"
prepare() {
perl Build.PL installdirs=vendor
}
build() {
./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="c9781ccdeee6cfd0a97bc2337c29358f51a22a32c4f9e1c01c4b094691e211ba455513d4ff9ee33320e689c2bfeb233418d7a1e5e51efec43f34e91480ecec6c Mouse-v2.5.7.tar.gz"
|