summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-05-30 20:38:50 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-05-30 20:38:50 (GMT)
commite760c62840e31395faae27b41f77d910feec4a80 (patch)
tree04dac12bd79af052be2a3e98f6a6e7af0878b87c /abs
parentf92b5971e72a958b3e3e2ce533510f14da1b55ff (diff)
downloadlinhes_pkgbuild-e760c62840e31395faae27b41f77d910feec4a80.zip
linhes_pkgbuild-e760c62840e31395faae27b41f77d910feec4a80.tar.gz
linhes_pkgbuild-e760c62840e31395faae27b41f77d910feec4a80.tar.bz2
perl-fcgi: update to 0.78
Diffstat (limited to 'abs')
-rw-r--r--abs/core/perl_modules/perl-fcgi/PKGBUILD20
1 files changed, 14 insertions, 6 deletions
diff --git a/abs/core/perl_modules/perl-fcgi/PKGBUILD b/abs/core/perl_modules/perl-fcgi/PKGBUILD
index a03c4ba..1eee9e4 100644
--- a/abs/core/perl_modules/perl-fcgi/PKGBUILD
+++ b/abs/core/perl_modules/perl-fcgi/PKGBUILD
@@ -1,18 +1,18 @@
-# $Id: PKGBUILD 160531 2012-06-02 10:27:39Z bluewind $
+# $Id$
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-fcgi
-pkgver=0.74
-pkgrel=3
+pkgver=0.78
+pkgrel=5
pkgdesc="Fast CGI"
-arch=('i686' 'x86_64')
+arch=('x86_64')
url="http://search.cpan.org/dist/FCGI"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
-source=("http://www.cpan.org/CPAN/authors/id/F/FL/FLORA/FCGI-${pkgver}.tar.gz")
-md5sums=('462a77a0072480fea791a4d3095eb486')
+source=("http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/FCGI-${pkgver}.tar.gz")
+md5sums=('916cd2887b27265cd8dcfd3280135270')
build() {
cd "${srcdir}/FCGI-${pkgver}"
@@ -28,4 +28,12 @@ check() {
package() {
cd "${srcdir}/FCGI-${pkgver}"
make install DESTDIR="${pkgdir}"
+
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+ _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+ _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+ depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
}