summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-12-07 14:07:20 +0000
committerZach van Rijn <me@zv.io>2023-02-08 16:26:06 +0000
commit6baf92fa0e37a8776bef5e1cc25a239aa5f21fe7 (patch)
tree51fb47ff148d66087b239565d74538084d68f0d1 /user
parentddfce1fabfaa8368480b878ae6c3525bbf4e87ff (diff)
downloadpackages-6baf92fa0e37a8776bef5e1cc25a239aa5f21fe7.tar.gz
packages-6baf92fa0e37a8776bef5e1cc25a239aa5f21fe7.tar.bz2
packages-6baf92fa0e37a8776bef5e1cc25a239aa5f21fe7.tar.xz
packages-6baf92fa0e37a8776bef5e1cc25a239aa5f21fe7.zip
user/perl-role-hooks: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-role-hooks/APKBUILD36
1 files changed, 36 insertions, 0 deletions
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 <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"