summaryrefslogblamecommitdiff
path: root/user/perl-mouse/APKBUILD
blob: ed16c6d745113d1a6b849244478f738250b2c2b5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


                                                                   
            







                                                                                                                        




                                                                              



                                        




                                                   



                    



                                                                           
                                                                                                                                                                  
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-mouse
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/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="e817eecaeccb979c1b78819b61724ebaad9f938d82b76ad7b73a8bfe2f5e1c63a2cd8e8439bcededd17be4770af6bfa98b594e58278e0388272dbd5d416ea6c0  Mouse-v2.5.9.tar.gz"