summaryrefslogblamecommitdiff
path: root/user/perl-any-moose/APKBUILD
blob: eaf3d188fd3822ea81e2c01bb3efd98e5322c026 (plain) (tree)
1
2
3
4
5
6
7
                                       
                                                          
                      



                               




                                                  
                                       
                         
                         
                      
                          

                                                                                        

         




                                                                 



                 




                                                                                                                                                                    
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-any-moose
_pkgreal=Any-Moose
_author=ETHER
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.27
pkgrel=0
pkgdesc="Deprecated Moose Mouse abstraction layer"
url="https://metacpan.org/pod/Any::Moose"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl perl-mouse"
checkdepends="perl-moose"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="5c97caf2e64462bae95fc4d5dd41868c01f856bd8f74872985254b7cc6ce0e13b4accad7955047ff5c4013399f7aea2ad6d48ae3592883a3b6cd20c0e4478b7b  Any-Moose-0.27.tar.gz"