summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-05-30 20:46:00 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-05-30 20:46:00 (GMT)
commit2bedadcfd02c6bcaea7ce4b89a207f76c0c51316 (patch)
tree45d3535420459dd7a8e6175d8c9c974544d481ea /abs/core/perl_modules
parente56f7d38ba9f18ca398b3906c3dd0f497e763a54 (diff)
downloadlinhes_pkgbuild-2bedadcfd02c6bcaea7ce4b89a207f76c0c51316.zip
linhes_pkgbuild-2bedadcfd02c6bcaea7ce4b89a207f76c0c51316.tar.gz
linhes_pkgbuild-2bedadcfd02c6bcaea7ce4b89a207f76c0c51316.tar.bz2
perl-http-daemon: update to 6.01
Diffstat (limited to 'abs/core/perl_modules')
-rw-r--r--abs/core/perl_modules/perl-http-daemon/PKGBUILD69
1 files changed, 29 insertions, 40 deletions
diff --git a/abs/core/perl_modules/perl-http-daemon/PKGBUILD b/abs/core/perl_modules/perl-http-daemon/PKGBUILD
index bf55adc..29d3d0e 100644
--- a/abs/core/perl_modules/perl-http-daemon/PKGBUILD
+++ b/abs/core/perl_modules/perl-http-daemon/PKGBUILD
@@ -1,53 +1,42 @@
-# Maintainer : Justin "juster" Davis <jrcd83@gmail.com>
-# Generator : pbjam 0.01
-# $Id: PKGBUILD 140094 2011-10-06 16:01:26Z bluewind $
+# $Id$
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=perl-http-daemon
-pkgver=6.00
-pkgrel=1
-pkgdesc="a simple http server class"
-arch=(any)
-license=(PerlArtistic GPL)
+pkgver=6.01
+pkgrel=5
+pkgdesc="Simple http server class"
+arch=('any')
+url='https://metacpan.org/pod/HTTP::Daemon'
+license=('PerlArtistic' 'GPL')
+depends=('perl' 'perl-http-date' 'perl-http-message' 'perl-lwp-mediatypes')
options=('!emptydirs')
-depends=('perl>=5.8.8' 'perl-http-date>=6' 'perl-http-message'
- 'perl-lwp-mediatypes>=6')
-makedepends=()
-checkdepends=()
-conflicts=('perl-libwww<6')
-url=http://search.cpan.org/dist/HTTP-Daemon
-source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Daemon-6.00.tar.gz)
-md5sums=(36c8048775b8b53a6fb7c9d781658926)
-sha512sums=(9fcdfc46e359bea37b10c979212f14e1cb7a1e0a24d2602b5465426fdac65dd43e4c3a73c4a956505a675a01caeb8385e20723f4362dcaa326a3d829d618b455)
-_distdir="${srcdir}/HTTP-Daemon-6.00"
+source=(https://cpan.metacpan.org/authors/id/G/GA/GAAS/HTTP-Daemon-${pkgver}.tar.gz
+ HTTP-Daemon-6.01-Add-IPv6-support.patch
+ HTTP-Daemon-6.01-Handle-undef-and-empty-LocalAddr.patch)
+sha256sums=('43fd867742701a3f9fcc7bd59838ab72c6490c0ebaf66901068ec6997514adc2'
+ 'a4bac445248fb494f88e7189a74f1a5d916ae7778edd089ed5a97e0d443e1ebf'
+ '3c46084a36f4a3c3f83e7ed8f4393a6588a5c8d0dbdc948a4f0d6fddc65005ec')
-build() {
- ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
- PERL_AUTOINSTALL=--skipdeps \
- PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
- PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
- MODULEBUILDRC=/dev/null
+prepare() {
+ cd "${srcdir}/HTTP-Daemon-${pkgver}"
+ patch -p1 < ../HTTP-Daemon-6.01-Add-IPv6-support.patch
+ patch -p1 < ../HTTP-Daemon-6.01-Handle-undef-and-empty-LocalAddr.patch
+}
- cd "$_distdir"
- /usr/bin/perl Makefile.PL
- make
- )
+build() {
+ cd "${srcdir}/HTTP-Daemon-${pkgver}"
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
}
check() {
- ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
- cd "$_distdir"
- make test
- )
+ cd "${srcdir}/HTTP-Daemon-${pkgver}"
+ make test
}
package() {
- cd "$_distdir"
- make DESTDIR="$pkgdir" install
- find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+ cd "${srcdir}/HTTP-Daemon-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}
-# Local Variables:
-# mode: shell-script
-# sh-basic-offset: 2
-# End:
-# vim:set ts=2 sw=2 et:
+# vim: ts=2 sw=2 et: