[arch-commits] Commit in perl-cgi/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Wed Aug 1 09:48:10 UTC 2018
Date: Wednesday, August 1, 2018 @ 09:48:09
Author: felixonmars
Revision: 366454
archrelease: copy trunk to community-staging-any
Added:
perl-cgi/repos/community-staging-any/
perl-cgi/repos/community-staging-any/PKGBUILD
(from rev 366453, perl-cgi/trunk/PKGBUILD)
----------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
Copied: perl-cgi/repos/community-staging-any/PKGBUILD (from rev 366453, perl-cgi/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-08-01 09:48:09 UTC (rev 366454)
@@ -0,0 +1,47 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-cgi
+pkgver=4.38
+pkgrel=2
+pkgdesc='Handle Common Gateway Interface requests and responses'
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=('perl>=5.8.1' perl-html-parser)
+checkdepends=('perl-test-deep>=0.11' perl-test-nowarnings
+ 'perl-test-warn>=0.3')
+url=https://metacpan.org/release/CGI
+source=("http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/CGI-$pkgver.tar.gz")
+md5sums=(0aeb8563d533e7f83724ed068b5bfc37)
+sha512sums=(c035a24b228105786828a4c9ae9c6aab9f22e311dc73871dc25497c5b4b84e77b096e570059a9d7cadc2916bfba582d5c093b6f029ccf0d826870629e36be04e)
+_ddir="CGI-$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