updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / perl-catalyst-plugin-pagecache / PKGBUILD
blob3d7d4e9a2cae5de2f9db849d85bcef93ca3fe3a3
1 # Contributor: Anonymous
2 # Generator  : CPANPLUS::Dist::Arch 0.14
3 pkgname='perl-catalyst-plugin-pagecache'
4 pkgver='0.22'
5 pkgrel='1'
6 pkgdesc="Cache the output of entire pages"
7 arch=('i686' 'x86_64')
8 license=('PerlArtistic' 'GPL')
9 options=('!emptydirs')
10 depends=('perl' 'perl-catalyst-runtime' 'perl-mro-compat>=0.10')
11 url='http://search.cpan.org/dist/Catalyst-Plugin-PageCache'
12 source=('http://search.cpan.org/CPAN/authors/id/M/MR/MRAMBERG/Catalyst-Plugin-PageCache-0.22.tar.gz')
13 md5sums=('46bc5d125956f66424aec94d33b087df')
15 build() {
16   _DISTDIR="${srcdir}/Catalyst-Plugin-PageCache-0.22"
17   export PERL_MM_USE_DEFAULT=1
18   { cd "$_DISTDIR" &&
19     perl Makefile.PL INSTALLDIRS=vendor &&
20     make &&
21     make test &&
22     make DESTDIR="${pkgdir}/" install;
23   } || return 1;
25   find "$pkgdir" -name .packlist -delete
26   find "$pkgdir" -name perllocal.pod -delete