mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 14:56:46 +02:00
34 lines
1 KiB
Text
34 lines
1 KiB
Text
# Automatically generated by apkbuild-cpan, template 3
|
|
# Contributor: Sheila Aman <sheila@vulpine.house>
|
|
# Maintainer: Sheila Aman <sheila@vulpine.house>
|
|
pkgname=perl-moo
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Moo
|
|
pkgver=2.005005
|
|
pkgrel=1
|
|
pkgdesc="Minimalist Object Orientation (with Moose compatibility)"
|
|
url="https://metacpan.org/release/Moo/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-class-method-modifiers perl-sub-quote perl-role-tiny"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/H/HA/HAARG/Moo-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
sha512sums="
|
|
e6b6cc491bb55ab0a7a57418d210da52990e8aa559fcf83c25838624caa0de1c919a229bab2b9c7e7c99cc9904706b64db169860d2c404449731e400ea1c5f79 Moo-2.005005.tar.gz
|
|
"
|