summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-05-31 19:07:53 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-05-31 19:07:53 (GMT)
commitf65ad8a5a3a5415b181ab2578b060d9e7e2605c3 (patch)
tree1ac9be5ea474545c35e03b31adb97c7147525fb7 /abs/core
parent15da46d2eaef9872471821a645c8980b497e41b0 (diff)
downloadlinhes_pkgbuild-f65ad8a5a3a5415b181ab2578b060d9e7e2605c3.zip
linhes_pkgbuild-f65ad8a5a3a5415b181ab2578b060d9e7e2605c3.tar.gz
linhes_pkgbuild-f65ad8a5a3a5415b181ab2578b060d9e7e2605c3.tar.bz2
perl-cgi: update to 4.38
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/perl_modules/perl-cgi/PKGBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-cgi/PKGBUILD b/abs/core/perl_modules/perl-cgi/PKGBUILD
new file mode 100644
index 0000000..e94e393
--- /dev/null
+++ b/abs/core/perl_modules/perl-cgi/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Florian Pritz <bluewind@xinu.at>
+
+pkgname=perl-cgi
+pkgver=4.38
+pkgrel=1
+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: