diff options
Diffstat (limited to 'testing/perl-fcgi/PKGBUILD')
-rw-r--r-- | testing/perl-fcgi/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/perl-fcgi/PKGBUILD b/testing/perl-fcgi/PKGBUILD new file mode 100644 index 000000000..d44eddf2a --- /dev/null +++ b/testing/perl-fcgi/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 125303 2011-05-25 19:27:52Z remy $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: François Charette <firmicus ατ gmx δοτ net> + +pkgname=perl-fcgi +pkgver=0.72 +pkgrel=1 +pkgdesc="Fast CGI" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/FCGI" +license=('GPL' 'PerlArtistic') +depends=('perl>=5.14') +options=('!emptydirs') +source=(http://www.cpan.org/CPAN/authors/id/F/FL/FLORA/FCGI-${pkgver}.tar.gz) +md5sums=('7b793e177caa93d972c6fb7ebe7c7ae1') + +build() { + cd "${srcdir}/FCGI-${pkgver}" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "${srcdir}/FCGI-${pkgver}" + make test +} + +package() { + cd "${srcdir}/FCGI-${pkgver}" + make install DESTDIR="${pkgdir}" +} |