From 635198152f7454af8a78d773e0e5347d80a0b10c Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 6 Aug 2019 05:17:36 +0000 Subject: system/perl-http-daemon: bump to 6.05, MB build sys, IPv6 support --- system/perl-http-daemon/APKBUILD | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/system/perl-http-daemon/APKBUILD b/system/perl-http-daemon/APKBUILD index 3684c5a7a..c4c86414d 100644 --- a/system/perl-http-daemon/APKBUILD +++ b/system/perl-http-daemon/APKBUILD @@ -1,10 +1,10 @@ # Contributor: Natanael Copa # Maintainer: Adélie Perl Team pkgname=perl-http-daemon -pkgver=6.04 -_author=O -_author2=${_author}A -_author3=${_author2}LDERS +pkgver=6.05 +_author=E +_author2=${_author}T +_author3=${_author2}HER pkgrel=0 pkgdesc="HTTP::Daemon perl module" url="https://metacpan.org/release/HTTP-Daemon" @@ -12,27 +12,25 @@ arch="noarch" license="GPL-2.0-only or Artistic-1.0-Perl" depends="perl perl-http-date perl-http-message" checkdepends="perl-test-needs" -makedepends="perl-dev" +makedepends="perl-dev perl-module-build" replaces="perl-libwww" subpackages="$pkgname-doc" source="https://search.cpan.org/CPAN/authors/id/$_author/$_author2/$_author3/HTTP-Daemon-$pkgver.tar.gz" builddir="$srcdir"/HTTP-Daemon-$pkgver build() { - cd "$builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor - make + # use Module::Build for non-/usr/local, not Module::Build::Tiny. + PERL_MB_FALLBACK_SILENCE_WARNING=1 perl Build.PL installdirs=vendor + ./Build } check() { - cd "$builddir" - make test + ./Build test } package() { - cd "$builddir" - make DESTDIR="$pkgdir" install + ./Build install destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -sha512sums="4fe21e92367c481e611cf0051134856811bc5e7d99ba2f54e0e8fb8c9c442198769ecc50d108219087c9052a8f51eab19843bc1f83cfb09ca6f1b9272414775c HTTP-Daemon-6.04.tar.gz" +sha512sums="26a5dd4f215b7d3c488c414101e975db0b8f38f11c983312d3c1d89f22e9c80895d6ae3f60fd4b00b6cbea5814992ad705237848cf2c9eab40eb82cd0109b32d HTTP-Daemon-6.05.tar.gz" -- cgit v1.2.3-70-g09d2