blob: 8fcf9b0cbced5260e02695cecd20c4be138b04cd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# 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.10
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"
checkdepends="perl-test-exception perl-test-fatal perl-test-leaktrace
perl-test-output perl-test-requires perl-try-tiny"
makedepends="perl-dev perl-module-build-xsutil"
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="949a2f18257a5afcf4dbbb84094974f4d80e1e4531b4b9d8618cf141252fd11b09b79daafe1de79faa620905988f649627bc2fceac357ea2f180db74cd48f711 Mouse-v2.5.10.tar.gz"
|