From c818bc83d2974e4e711398d112243931f31861b3 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 1 Oct 2018 19:18:43 +0000 Subject: user/perl-moox-late: new package --- user/perl-moox-late/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 user/perl-moox-late/APKBUILD (limited to 'user/perl-moox-late') diff --git a/user/perl-moox-late/APKBUILD b/user/perl-moox-late/APKBUILD new file mode 100644 index 000000000..f9360c17f --- /dev/null +++ b/user/perl-moox-late/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: A. Wilcox +# Maintainer: Adélie Perl Team +pkgname=perl-moox-late +pkgver=0.015 +pkgrel=0 +pkgdesc="Translate Moose code into Moo" +url="https://metacpan.org/release/MooX-late" +arch="noarch" +license="Artistic-1.0-Perl" +depends="perl-moo perl-type-tiny" +makedepends="perl-dev" +checkdepends="perl-test-fatal perl-test-requires" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/MooX-late-$pkgver.tar.gz" +builddir="$srcdir/MooX-late-$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="4d685f4e68abe10487a98def8f0e7b0bafbd9928af27e61a5ac410bcafa9833a4aebdc8cd5bdbebd1a6ee53b4b0d5ae9bfa3864cae428b21c926730365fefb6d MooX-late-0.015.tar.gz" -- cgit v1.2.3-70-g09d2