summaryrefslogtreecommitdiff
path: root/system/perl-http-daemon
diff options
context:
space:
mode:
Diffstat (limited to 'system/perl-http-daemon')
-rw-r--r--system/perl-http-daemon/APKBUILD24
1 files 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 <ncopa@alpinelinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
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"