From af5ab06fba8c434101bf3df0abfc4dadfa7c834a Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 21 Apr 2016 00:20:28 +0200 Subject: perl-moosex-role-withoverloading neu --- perl-moosex-role-withoverloading/PKGBUILD | 50 +++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 perl-moosex-role-withoverloading/PKGBUILD (limited to 'perl-moosex-role-withoverloading') diff --git a/perl-moosex-role-withoverloading/PKGBUILD b/perl-moosex-role-withoverloading/PKGBUILD new file mode 100644 index 00000000..cdefe983 --- /dev/null +++ b/perl-moosex-role-withoverloading/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: Erich Eckner +# Contributor: John D Jones III AKA jnbek +# Generator : CPANPLUS::Dist::Arch 1.30 + +pkgname='perl-moosex-role-withoverloading' +pkgver='0.16' +pkgrel='1' +pkgdesc="Roles which support overloading" +arch=('i686' 'x86_64') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-moose>=0.94' 'perl-aliased' 'perl-namespace-autoclean>=0.16' 'perl-namespace-clean') +makedepends=() +url='https://metacpan.org/release/MooseX-Role-WithOverloading' +source=("http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/MooseX-Role-WithOverloading-${pkgver}.tar.gz") +sha512sums=('0255d2c2f5b21e996281d883c680564dfe4504a70e7a9bd1936a85ee77ceb6126f8778e8e1c1e46bf166b97f043052b9cb28d5e4f270c3ca852c35fd48522ae1') +_distdir="MooseX-Role-WithOverloading-${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 "$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: -- cgit v1.2.3-70-g09d2