blob: ca1ce7733486165f4bb68cef99e5c55254aee8dd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# 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.050000
pkgrel=0
pkgdesc="Alternative handles_via implementation for Moo"
url="https://metacpan.org/pod/Sub::HandlesVia"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl perl-class-method-modifiers perl-class-tiny perl-exporter-tiny
perl-role-hooks perl-role-tiny perl-type-tiny"
checkdepends="perl-moo perl-moose perl-mouse perl-object-pad 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="c91d356d0aa461d446157ebf4819350db13060dd0bcd383b06037a7e05fb36935d71348270aa9e72daf6031a79956a5887a14e284554d83e5e88665146c388e2 Sub-HandlesVia-0.050000.tar.gz"
|