blob: d47f0ceff4628718a9269037f83388e911f420c8 (
plain) (
tree)
|
|
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-sub-handlesvia
_pkgreal=Sub-HandlesVia
_author=TOBYINK
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.016
pkgrel=0
pkgdesc="Alternative handles_via implementation for Moo"
url="https://metacpan.org/pod/Sub::HandlesVia"
arch="all"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl perl-class-method-modifiers perl-class-tiny perl-exporter-tiny
perl-role-tiny perl-type-tiny"
checkdepends="perl-moo perl-moose perl-mouse perl-test-fatal perl-test-requires"
makedepends=""
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="91932d7c56e4fc1bb9e737282ee45ffdcc6d4143ee0307cbcbee9fb3b3953bd955b62bc20809cef61d4e643a4d246dbab062a636a46f951a93bdf2f22a1b04d2 Sub-HandlesVia-0.016.tar.gz"
|