updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / perl-cgi-application-plugin-forward / PKGBUILD
blobbf4e2bc72472982004e753579ba0b10069e35c3c
1 # Contributor: Victor Petrenko <2g0ga.dp.ua@gmail.com>
2 pkgname='perl-cgi-application-plugin-forward'
3 pkgver='1.06'
4 pkgrel='1'
5 pkgdesc='Easy runmode change in CGI::Application'
6 arch=('i686' 'x86_64')
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')
13 build() {
14   cd "${srcdir}/CGI-Application-Plugin-Forward-${pkgver}"
15   (     #PERL_MM_USE_DEFAULT=1
16                 perl Makefile.PL INSTALLDIRS=vendor &&
17           make &&
18           make test &&
19           make DESTDIR="${pkgdir}/" install
20   ) || return 1;
22         # Remove directories that only contain .packlist and perllocal.pod.
23   rm -r "${pkgdir:?}/usr/lib"