[arch-commits] Commit in perl-fcgi/repos (6 files)

Florian Pritz bluewind at archlinux.org
Fri May 27 08:00:55 UTC 2016


    Date: Friday, May 27, 2016 @ 10:00:54
  Author: bluewind
Revision: 268668

db-move: moved perl-fcgi from [staging] to [testing] (i686, x86_64)

Added:
  perl-fcgi/repos/testing-i686/
  perl-fcgi/repos/testing-i686/PKGBUILD
    (from rev 268667, perl-fcgi/repos/staging-i686/PKGBUILD)
  perl-fcgi/repos/testing-x86_64/
  perl-fcgi/repos/testing-x86_64/PKGBUILD
    (from rev 268667, perl-fcgi/repos/staging-x86_64/PKGBUILD)
Deleted:
  perl-fcgi/repos/staging-i686/
  perl-fcgi/repos/staging-x86_64/

-------------------------+
 testing-i686/PKGBUILD   |   39 +++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)

Copied: perl-fcgi/repos/testing-i686/PKGBUILD (from rev 268667, perl-fcgi/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-05-27 08:00:54 UTC (rev 268668)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-fcgi
+pkgver=0.78
+pkgrel=2
+pkgdesc="Fast CGI"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/FCGI"
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/FCGI-${pkgver}.tar.gz")
+md5sums=('916cd2887b27265cd8dcfd3280135270')
+
+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}"
+
+# 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;
+}

Copied: perl-fcgi/repos/testing-x86_64/PKGBUILD (from rev 268667, perl-fcgi/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-05-27 08:00:54 UTC (rev 268668)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-fcgi
+pkgver=0.78
+pkgrel=2
+pkgdesc="Fast CGI"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/FCGI"
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/FCGI-${pkgver}.tar.gz")
+md5sums=('916cd2887b27265cd8dcfd3280135270')
+
+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}"
+
+# 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;
+}



More information about the arch-commits mailing list