summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-22 01:45:50 +0000
committerZach van Rijn <me@zv.io>2022-06-12 23:51:48 +0000
commite2fa32137867bfbdc35825dc753100e319228688 (patch)
tree8c69546438e9e11edc82a72be0ff878a9c9a0f1c
parent91cdaab5a2d9785837a86909ec66cc6d311541e9 (diff)
downloadpackages-e2fa32137867bfbdc35825dc753100e319228688.tar.gz
packages-e2fa32137867bfbdc35825dc753100e319228688.tar.bz2
packages-e2fa32137867bfbdc35825dc753100e319228688.tar.xz
packages-e2fa32137867bfbdc35825dc753100e319228688.zip
user/perl-sub-handlesvia: new package
-rw-r--r--user/perl-sub-handlesvia/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/perl-sub-handlesvia/APKBUILD b/user/perl-sub-handlesvia/APKBUILD
new file mode 100644
index 000000000..d47f0ceff
--- /dev/null
+++ b/user/perl-sub-handlesvia/APKBUILD
@@ -0,0 +1,36 @@
+# 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"