1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # See http://wiki.archlinux.org/index.php/Perl_Package_Guidelines for more
7 # information on Perl packaging.
9 # Contributor: Neil Munro <neilmunro@gmail.com>
13 pkgdesc="Mason is a powerful Perl-based web site development and delivery engine. With Mason you can embed Perl code in your HTML and construct pages from shared, reusable components. Mason solves the common problems of site development: caching, debugging, templating, maintaining development and production sites, and more. Mason is 100% free and open source. Although it can be used from CGI or even stand-alone, it is optimally designed for use with two other open source technologies: mod_perl and Apache."
15 url="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/HTML-Mason-1.42.tar.gz"
16 license=('GPL' 'PerlArtistic')
17 depends=('perl>=5.10.0')
18 provides=( 'html-mason' )
19 conflicts=( 'html-mason' )
20 source=( 'http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/HTML-Mason-1.42.tar.gz' )
21 md5sums=( '5fe5555ebb4bd6929eb6438e0f709355' )
24 cd "$srcdir/HTML-Mason-$pkgver"
26 # install module in vendor directories.
27 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
29 make install DESTDIR="$pkgdir/" || return 1
31 # remove perllocal.pod and .packlist
32 find "$pkgdir" -name perllocal.pod -delete
33 find "$pkgdir" -name .packlist -delete