1 # Contributor: Victor Petrenko <2g0ga.dp.ua@gmail.com>
2 pkgname='perl-cgi-application-plugin-forward'
5 pkgdesc='Easy runmode change in CGI::Application'
7 url='http://search.cpan.org/~mgraham/CGI-Application-Plugin-Forward-1.06/'
8 license=('PerlArtistic' 'GPL')
9 depends=('perl-cgi-application')
10 source=("http://search.cpan.org/CPAN/authors/id/M/MG/MGRAHAM/CGI-Application-Plugin-Forward-${pkgver}.tar.gz")
11 md5sums=('1593ec5a83a7e104e4b85f13cc729a8a')
14 cd "${srcdir}/CGI-Application-Plugin-Forward-${pkgver}"
15 ( #PERL_MM_USE_DEFAULT=1
16 perl Makefile.PL INSTALLDIRS=vendor &&
19 make DESTDIR="${pkgdir}/" install
22 # Remove directories that only contain .packlist and perllocal.pod.
23 rm -r "${pkgdir:?}/usr/lib"