updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / perl-html-mason / PKGBUILD
blobd7633c56a97e461fc92b1b747b872f3f95a10307
1 # CPAN Name  : HTML-Mason
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator  : CPANPLUS::Dist::Arch 0.20
4 # Template @ http://github.com/xenoterracide/AURpan/blob/master/perl-html-mason/PKGBUILD.tt
5 # File bugs @ http://github.com/xenoterracide/AURpan/issues
7 pkgname='perl-html-mason'
8 pkgver='1.45'
9 pkgrel='2'
10 pkgdesc="Build sites from modular Perl/HTML blocks"
11 arch=('any')
12 url='http://search.cpan.org/dist/HTML-Mason'
13 license=('PerlArtistic' 'GPL')
14 depends=('mod_perl>=1.999022' 'perl' 'perl-cache-cache>=1' 'perl-class-container>=0.07' 'perl-exception-class>=1.15' 'perl-html-parser' 'perl-log-any>=0.08' 'perl-params-validate>=0.7' 'perl-test-deep')
16 options=('!emptydirs')
18 source=('http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/HTML-Mason-1.45.tar.gz')
19 md5sums=('5ad416ae8425d81dde3daf5fab913a23')
21 build() {
22   DIST_DIR="${srcdir}/HTML-Mason-1.45"
23   export PERL_MM_USE_DEFAULT=1
24   {
25         cd "$DIST_DIR" &&
26     perl Makefile.PL INSTALLDIRS=vendor &&
27     make &&
28     make test &&
29     make DESTDIR="$pkgdir" install;
30   } || return 1;
32   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete