From 9b2f5fa081d4b3378a359963d0f9d45730ff22ee Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 2 Oct 2018 01:35:17 +0000 Subject: user/perl-moosex-getopt: new package --- user/perl-moosex-getopt/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 user/perl-moosex-getopt/APKBUILD (limited to 'user') diff --git a/user/perl-moosex-getopt/APKBUILD b/user/perl-moosex-getopt/APKBUILD new file mode 100644 index 000000000..4669063ec --- /dev/null +++ b/user/perl-moosex-getopt/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: A. Wilcox +# Maintainer: Adélie Perl Team +pkgname=perl-moosex-getopt +pkgver=0.74 +pkgrel=0 +pkgdesc="Perl Moose role for processing command line arguments" +url="https://metacpan.org/release/MooseX-Getopt" +arch="noarch" +license="Artistic-1.0-Perl" +depends="perl-getopt-long-descriptive perl-moose perl-moosex-role-parameterised + perl-namespace-autoclean perl-try-tiny" +makedepends="perl-dev perl-module-build-tiny" +checkdepends="perl-moosex-strictconstructor perl-path-tiny perl-test-deep + perl-test-fatal perl-test-needs perl-test-trap perl-test-warnings" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/MooseX-Getopt-$pkgver.tar.gz" +builddir="$srcdir/MooseX-Getopt-$pkgver" + +build() { + cd "$builddir" + PERL_MM_FALLBACK_SILENCE_WARNING=1 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="3b7ea4f75192c62936f7838809a4a3facc4ccc38fb9db5affd46d07273ac1ffadd5ddb0882fe5d29870bf4b8c816916febdc3748747223c837fc87c65faa60ac MooseX-Getopt-0.74.tar.gz" -- cgit v1.2.3-70-g09d2