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



                               
             



                                    
                                       
              

                                                                     
                                               
                          

                                                                                         

         
                                        




                                                   



                    



                                                                           
                                                                                                                                                                   
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
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 OR GPL-1.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"