summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-fcgi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/perl_modules/perl-fcgi/PKGBUILD')
-rw-r--r--abs/core/perl_modules/perl-fcgi/PKGBUILD34
1 files changed, 21 insertions, 13 deletions
diff --git a/abs/core/perl_modules/perl-fcgi/PKGBUILD b/abs/core/perl_modules/perl-fcgi/PKGBUILD
index 3a97d1e..a03c4ba 100644
--- a/abs/core/perl_modules/perl-fcgi/PKGBUILD
+++ b/abs/core/perl_modules/perl-fcgi/PKGBUILD
@@ -1,23 +1,31 @@
-# Maintainer: Allan McRae <mcrae_allan@hotmail.com>
+# $Id: PKGBUILD 160531 2012-06-02 10:27:39Z bluewind $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-fcgi
-pkgver=0.71
-pkgrel=1
+pkgver=0.74
+pkgrel=3
pkgdesc="Fast CGI"
arch=('i686' 'x86_64')
-url="http://search.cpan.org/~SKIMO/FCGI"
+url="http://search.cpan.org/dist/FCGI"
license=('GPL' 'PerlArtistic')
-depends=('perl>=5.10.0')
+depends=('perl')
options=('!emptydirs')
-source=(http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/FCGI-$pkgver.tar.gz)
+source=("http://www.cpan.org/CPAN/authors/id/F/FL/FLORA/FCGI-${pkgver}.tar.gz")
+md5sums=('462a77a0072480fea791a4d3095eb486')
build() {
- cd $startdir/src/FCGI-$pkgver
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make || return 1
- make install DESTDIR=$startdir/pkg || return 1
- find $startdir/pkg -name '.packlist' -delete
- find $startdir/pkg -name '*.pod' -delete
+ 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}"
}
-md5sums=('26bc4ea53ccc9c9c16695e88e46a1cfb')