From 339a26e134031c4d35d5bfb55274776a3492ee05 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 17 Nov 2018 23:38:44 +0000 Subject: user/perl-moox-types-mooselike: new package --- user/perl-moox-types-mooselike/APKBUILD | 35 +++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 user/perl-moox-types-mooselike/APKBUILD (limited to 'user/perl-moox-types-mooselike') diff --git a/user/perl-moox-types-mooselike/APKBUILD b/user/perl-moox-types-mooselike/APKBUILD new file mode 100644 index 000000000..4a8989583 --- /dev/null +++ b/user/perl-moox-types-mooselike/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: A. Wilcox +# Maintainer: Adélie Perl Team +pkgname=perl-moox-types-mooselike +_pkgname=MooX-Types-MooseLike +pkgver=0.29 +pkgrel=0 +pkgdesc="Moose-like types for Perl Moo" +url="https://metacpan.org/release/MooX-Types-MooseLike" +arch="noarch" +license="Artistic-1.0-Perl OR GPL-2.0-only" +depends="perl-module-runtime perl-moo" +checkdepends="perl-test-fatal" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/M/MA/MATEU/MooX-Types-MooseLike-$pkgver.tar.gz" +builddir="$srcdir/MooX-Types-MooseLike-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="69ddd0d663d1ea23dfc7e47ec35192f1951f195f70f788bac47cc93e98d9e888394c07fc39f1740b7c1fd04f8724f2b0dfa14183fe33bceb9f77c1f1d1b8752e MooX-Types-MooseLike-0.29.tar.gz" -- cgit v1.2.3-70-g09d2