summaryrefslogtreecommitdiff
path: root/extra/perl-fcgi/PKGBUILD
blob: 40e52f63415348b183a36fb03712c7cf3a1fccf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 131681 2011-07-13 14:35:40Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-fcgi
pkgver=0.73
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=('b55c8b93ccd175b3c0e4473f1a6c0bdd')

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}"
}