diff options
author | Erich Eckner <git@eckner.net> | 2016-04-21 00:22:11 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-04-21 00:22:11 +0200 |
commit | 2424b12cfa365032d6a15313a1c0f2376cd2dabe (patch) | |
tree | 9de98051376ea72b749cc260ffc87996176f595f /perl-moosex-role-parameterized/PKGBUILD | |
parent | af5ab06fba8c434101bf3df0abfc4dadfa7c834a (diff) | |
download | archlinuxewe.git.save-2424b12cfa365032d6a15313a1c0f2376cd2dabe.tar.xz |
perl-moosex-role-parameterized neu
Diffstat (limited to 'perl-moosex-role-parameterized/PKGBUILD')
-rw-r--r-- | perl-moosex-role-parameterized/PKGBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/perl-moosex-role-parameterized/PKGBUILD b/perl-moosex-role-parameterized/PKGBUILD new file mode 100644 index 00000000..c5c0cac0 --- /dev/null +++ b/perl-moosex-role-parameterized/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> +# Contributor: Brian Bidulock <bidulock@openss7.org> +# Contributor: Justin Davis <jrcd83@gmail.com> +# Generator : CPANPLUS::Dist::Arch 1.19 + +pkgname='perl-moosex-role-parameterized' +pkgver=1.08 +pkgrel=2 +pkgdesc="roles with composition parameters" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl>=5.8.1' 'perl-namespace-autoclean') +makedepends=('perl-moose') +checkdepends=('perl-test-fatal' 'perl-test-requires' 'perl-moosex-role-withoverloading') +url='http://search.cpan.org/dist/MooseX-Role-Parameterized' +source=("http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/MooseX-Role-Parameterized-${pkgver}.tar.gz") +sha512sums=('2ee0a9c98090a2e82f360eb1276114bca243ec7676899830d06416cb378745d38ede5021eeb788b6c3499ba12969138dffadbbce34fe391778469ef3c5f4afdd') +_distdir="MooseX-Role-Parameterized-${pkgver}" + +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 "$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$_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: |