[arch-commits] Commit in perl-cgi-fast/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Jun 1 19:05:56 UTC 2017


    Date: Thursday, June 1, 2017 @ 19:05:55
  Author: felixonmars
Revision: 232568

archrelease: copy trunk to community-staging-any

Added:
  perl-cgi-fast/repos/community-staging-any/
  perl-cgi-fast/repos/community-staging-any/PKGBUILD
    (from rev 232567, perl-cgi-fast/trunk/PKGBUILD)

----------+
 PKGBUILD |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

Copied: perl-cgi-fast/repos/community-staging-any/PKGBUILD (from rev 232567, perl-cgi-fast/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-06-01 19:05:55 UTC (rev 232568)
@@ -0,0 +1,46 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-cgi-fast
+pkgver=2.12
+pkgrel=2
+pkgdesc='CGI Interface for Fast CGI'
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=('perl>=5.8.1' 'perl-cgi>=4' 'perl-fcgi>=0.67')
+checkdepends=('perl-test-deep>=0.11')
+url=https://metacpan.org/release/CGI-Fast
+source=("http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/CGI-Fast-$pkgver.tar.gz")
+md5sums=('80aa041f84fd225367aaf4fa17a929a0')
+sha512sums=('00452a2c31eb8fd877808764508a491894d87986bda493b2b15773cd29f2699184559f0c55af1af1684c851005b61eb1364bccae7ba4f4df3166d9020c15b40e')
+_ddir="CGI-Fast-$pkgver"
+
+build()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  unset PERL5LIB PERL_MM_OPT
+  /usr/bin/perl Makefile.PL
+  make
+)
+
+check()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1
+  unset PERL5LIB
+  make test
+)
+
+package()
+(
+  cd "$srcdir/$_ddir"
+  make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+)
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list