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

Felix Yan felixonmars at archlinux.org
Sat Aug 26 15:38:57 UTC 2017


    Date: Saturday, August 26, 2017 @ 15:38:56
  Author: felixonmars
Revision: 254164

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 254160, perl-cgi-fast/trunk/PKGBUILD)

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

Copied: perl-cgi-fast/repos/community-staging-any/PKGBUILD (from rev 254160, perl-cgi-fast/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-08-26 15:38:56 UTC (rev 254164)
@@ -0,0 +1,46 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-cgi-fast
+pkgver=2.12
+pkgrel=3
+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