blob: 6348335d2eb0a0a6459c3e615a28e5db387f0fa0 (
plain) (
tree)
|
|
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-role-hooks
_pkgreal=Role-Hooks
_author=TOBYINK
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.008
pkgrel=0
pkgdesc="Callbacks for Moo/Moose/Mouse roles"
url="https://metacpan.org/pod/Role::Hooks"
arch="noarch"
license="GPL-1.0+ OR Artistic-1.0-Perl"
depends="perl perl-class-method-modifiers"
checkdepends="perl-class-tiny perl-moo perl-moose perl-mouse perl-role-tiny
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="d614dd26adfe03eeef091554b640a130a574cbe11797ad99185cf86637c4a901628800e16967c6061a479c9385fdced9e2b01ec97e18a4deafe4f098885913e5 Role-Hooks-0.008.tar.gz"
|