updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-cgi-application-plugin-redirect / PKGBUILD
blobb7e54477dd8da7cb7053127d2539743765977959
1 # Contributor: Justin Davis <jrcd83@gmail.com>
2 pkgname='perl-cgi-application-plugin-redirect'
3 pkgver='1.00'
4 pkgrel='1'
5 pkgdesc='Easy external redirects in CGI::Application'
6 arch=('i686' 'x86_64')
7 url='http://search.cpan.org/~ceeshek/CGI-Application-Plugin-Redirect/'
8 license=('PerlArtistic' 'GPL')
9 depends=('perl-cgi-application')
10 source=("http://search.cpan.org/CPAN/authors/id/C/CE/CEESHEK/CGI-Application-Plugin-Redirect-${pkgver}.tar.gz")
11 md5sums=('138a1532ea01eb558af768bafa4283c4')
13 build() {
14   cd "${srcdir}/CGI-Application-Plugin-Redirect-${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"