From 6baf92fa0e37a8776bef5e1cc25a239aa5f21fe7 Mon Sep 17 00:00:00 2001 From: Síle Ekaterin Liszka Date: Wed, 7 Dec 2022 14:07:20 +0000 Subject: user/perl-role-hooks: new package --- user/perl-role-hooks/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 user/perl-role-hooks/APKBUILD (limited to 'user/perl-role-hooks') diff --git a/user/perl-role-hooks/APKBUILD b/user/perl-role-hooks/APKBUILD new file mode 100644 index 000000000..6348335d2 --- /dev/null +++ b/user/perl-role-hooks/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Síle Ekaterin Liszka +# Maintainer: Síle Ekaterin Liszka +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" -- cgit v1.2.3-70-g09d2