updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / perl-catalyst-view-mason / PKGBUILD
blob9b24f004617e9f54b01b1cb44e4685fe8970f562
1 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
2 # Generator  : CPANPLUS::Dist::Arch 0.16
3 pkgname='perl-catalyst-view-mason'
4 pkgver='0.18'
5 pkgrel='1'
6 pkgdesc="Mason View Class"
7 arch=('i686' 'x86_64')
8 license=('PerlArtistic' 'GPL')
9 options=('!emptydirs')
10 depends=('perl' 'perl-catalyst-runtime>=5.50' 'perl-html-mason' 'perl-mro-compat')
11 url='http://search.cpan.org/dist/Catalyst-View-Mason'
12 source=('http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Catalyst-View-Mason-0.18.tar.gz')
13 md5sums=('43babe65905c38da7ebb9bed4dcb212c')
15 build() {
16   _DISTDIR="${srcdir}/Catalyst-View-Mason-0.18"
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 -o -name perllocal.pod -delete