updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / perl-cgi-ssi / PKGBUILD
blobbff02258d1c9c72a2f5b284a0ad4cf22fea85dfb
1 # CPAN Name  : CGI-SSI
2 # Maintainer: Christian Hesse <mail@eworm.de>
4 pkgname=perl-cgi-ssi
5 pkgver=0.92
6 pkgrel=1
7 pkgdesc="CGI-SSI (Server Side Includes) for Perl"
8 arch=('any')
9 url="http://search.cpan.org/~james/CGI-SSI-${pkgver}/"
10 license=('PerlArtistic' 'GPL')
11 depends=('perl' 'perl-cgi' 'perl-html-simpleparse')
13 options=('!emptydirs')
15 source=("http://search.cpan.org/CPAN/authors/id/J/JA/JAMES/CGI-SSI-${pkgver}.tar.gz")
17 build() {
18   DIST_DIR="${srcdir}/CGI-SSI-${pkgver}"
19   export PERL_AUTOINSTALL=--skipdeps PERL_MM_USE_DEFAULT=1
20   {
21         cd "${DIST_DIR}" &&
22     perl Makefile.PL INSTALLDIRS=vendor &&
23     make &&
24     make test &&
25     make DESTDIR="${pkgdir}" install;
26   } || return 1;
28   find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete
31 md5sums=('8f52256f3b8aac7a3fca8540f5cf0e30')