blob: d89d9c3b33a2a1acb57348dac896027c714650e0 (
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
38
39
40
|
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-mouse
pkgver=2.5.6
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"
install=""
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/S/SK/SKAJI/Mouse-v$pkgver.tar.gz"
builddir="$srcdir/Mouse-v$pkgver"
prepare() {
cd "$builddir"
perl Build.PL installdirs=vendor
}
build() {
cd "$builddir"
./Build
}
check() {
# most, but not all functionality is tested
cd "$builddir"
./Build test
}
package() {
cd "$builddir"
./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="1f29430badec842c1b3aa5a8a4c4ad785cf26d2e6cc745da82c0fa667b19da0b9e6c364e10ef615fbc03f60cb5020f079113b470162d095d8c514e6cb9ce96e3 Mouse-v2.5.6.tar.gz"
|