diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2022-05-22 01:45:50 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-10-21 18:34:00 -0500 |
commit | b8a171af6f94f495a08bb0aaf12d4d10c9b34277 (patch) | |
tree | 3f86ef872cb5e70aef5198787b0804125535b18c /user/perl-sub-handlesvia/APKBUILD | |
parent | b7698f6f8bed62c6f9023fa9cfbbeeb535bcfeca (diff) | |
download | packages-b8a171af6f94f495a08bb0aaf12d4d10c9b34277.tar.gz packages-b8a171af6f94f495a08bb0aaf12d4d10c9b34277.tar.bz2 packages-b8a171af6f94f495a08bb0aaf12d4d10c9b34277.tar.xz packages-b8a171af6f94f495a08bb0aaf12d4d10c9b34277.zip |
user/perl-sub-handlesvia: new package
Diffstat (limited to 'user/perl-sub-handlesvia/APKBUILD')
-rw-r--r-- | user/perl-sub-handlesvia/APKBUILD | 36 |
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" |