summaryrefslogblamecommitdiff
path: root/user/perl-mouse/APKBUILD
blob: 638aea5bfb45980f80a3c450e703a87753176dd8 (plain) (tree)
1
2
3
4
5
6
7
8

                                                                   


                               
            




                                       
                                                                     
                                               
                          
                                                                                         
         
                                        



                                                   


                    


                                                                           
                                                                                                                                                                  
# 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"
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="e817eecaeccb979c1b78819b61724ebaad9f938d82b76ad7b73a8bfe2f5e1c63a2cd8e8439bcededd17be4770af6bfa98b594e58278e0388272dbd5d416ea6c0  Mouse-v2.5.9.tar.gz"