diff options
author | Erich Eckner <git@eckner.net> | 2016-04-05 16:00:57 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-04-05 16:00:57 +0200 |
commit | 9381105592cf5088bb53692d6000f398c37855e2 (patch) | |
tree | 42ae451e04a9f24c2f49ccfb88ef05c83c3644b6 /perl-moose/PKGBUILD | |
parent | c7171064b7163e5101ede3c2e2579ded5706283a (diff) | |
download | archlinuxewe.git.save-9381105592cf5088bb53692d6000f398c37855e2.tar.xz |
perl-moose neu
Diffstat (limited to 'perl-moose/PKGBUILD')
-rw-r--r-- | perl-moose/PKGBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/perl-moose/PKGBUILD b/perl-moose/PKGBUILD new file mode 100644 index 00000000..c1832465 --- /dev/null +++ b/perl-moose/PKGBUILD @@ -0,0 +1,50 @@ +# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator : CPANPLUS::Dist::Arch 1.32 + +pkgname='perl-moose' +pkgver='2.1605' +pkgrel='1' +pkgdesc="A postmodern object system for Perl 5" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-cpan-meta-check>=0.011' 'perl-class-load>=0.09' 'perl-class-load-xs>=0.01' 'perl-data-optlist>=0.107' 'perl-devel-globaldestruction' 'perl-devel-overloadinfo>=0.004' 'perl-devel-stacktrace>=1.33' 'perl-dist-checkconflicts>=0.02' 'perl-eval-closure>=0.04' 'perl-list-moreutils>=0.28' 'perl-mro-compat>=0.05' 'perl-module-runtime>=0.014' 'perl-module-runtime-conflicts>=0.002' 'perl-package-deprecationmanager>=0.11' 'perl-package-stash>=0.32' 'perl-package-stash-xs>=0.24' 'perl-params-util>=1.00' 'perl-sub-exporter>=0.980' 'perl-sub-identify' 'perl-sub-name>=0.05' 'perl-task-weaken' 'perl-try-tiny>=0.17') +makedepends=() +checkdepends=('perl-test-cleannamespaces>=0.13' 'perl-test-fatal>=0.001' 'perl-test-requires>=0.05' 'perl-test-warnings>=0.016') +url='https://metacpan.org/release/Moose' +source=('http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Moose-2.1605.tar.gz') +md5sums=('5d1fd6ab1edebaad2ef1fa59a17b547a') +sha512sums=('66a868a017885e626c1d46c3d85452dc04c7350e8a3c2abc20a882dd4e1854dd50a17ea8488d024edd0b0219b7f2800186c62c5a0de23109ccd19ef88e52cadf') +_distdir="Moose-2.1605" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$srcdir/$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$srcdir/$_distdir" + make install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: |