summaryrefslogblamecommitdiff
path: root/user/perl-class-method-modifiers/APKBUILD
blob: 2eb8f618edf43ee74f9038268d00ea0af7c3e7b6 (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-class-method-modifiers
_pkgreal=Class-Method-Modifiers
_author=ETHER
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=2.13
pkgrel=0
pkgdesc="Provides Moose-like method modifiers"
url="https://metacpan.org/pod/Class::Method::Modifiers"
arch="noarch"
license="Artistic-1.0-Perl AND GPL-2.0"
depends="perl"
checkdepends="perl-test-fatal perl-test-needs perl-test-requires"
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="379afff763b647b787dd2049d9a8b928ca88be34e50c91c0848c5652efb1e4b40d8cacd2a1d5f6ce7bb254b9e65801b7c1a710f9807458a129af0af470f5ebbe  Class-Method-Modifiers-2.13.tar.gz"