Skip to content
Snippets Groups Projects
Verified Commit 9b2f5fa0 authored by Anna Wilcox's avatar Anna Wilcox :fox:
Browse files

user/perl-moosex-getopt: new package

parent 42a4cfc0
No related branches found
No related tags found
No related merge requests found
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment