# Contributor: Tyler Swagar # Contributor: John D Jones III AKA jnbek # Generator : CPANPLUS::Dist::Arch 1.32 pkgname='perl-mojolicious' pkgver='7.74' pkgrel='1' pkgdesc="Real-time web framework" arch=('any') license=('PerlArtistic' 'GPL') options=('!emptydirs') depends=('perl>=5.10.1') makedepends=() url='https://metacpan.org/release/Mojolicious' source=("https://cpan.metacpan.org/authors/id/S/SR/SRI/Mojolicious-${pkgver}.tar.gz") md5sums=('8b0766b27bc492f565f35b7cbb116e6a') sha512sums=('87c81b02f700a79899612430d5d6cc83eb2cd6bbef3d8ecef4b9c78849f5e9bef37f9878666dbf239f168d7d65881b647fa56185e0c658674e3f232bdfee9d22') _distdir="Mojolicious-${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: