blob: ffcebda35a32bbacf54e6fdc6f4b86e5b2647f9e (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-moose
_pkgreal=Moose
_author=ETHER
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=2.2206
pkgrel=0
pkgdesc="A postmodern object system for Perl 5"
url="https://metacpan.org/release/Moose"
arch="all"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl-class-load perl-class-load-xs perl-data-optlist
perl-devel-globaldestruction perl-devel-overloadinfo
perl-devel-stacktrace perl-eval-closure perl-module-runtime
perl-module-runtime-conflicts perl-mro-compat
perl-package-deprecationmanager perl-params-util perl-sub-exporter
perl-sub-identify perl-sub-name perl-try-tiny"
checkdepends="perl-cpan-meta-check perl-dist-checkconflicts perl-scalar-list-utils
perl-test-output perl-test-cleannamespaces perl-test-fatal
perl-test-requires perl-test-needs"
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="959600944dab57232c9b7c1aebf2d08c2bed1066b52f11688dbe258b3fff2926f0267774b6b2aca777b42330008d64f3f6fb3c43ee08bfc1bdafc9fcaa58f954 Moose-2.2206.tar.gz"
|