# Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> pkgname=perl-http-daemon _pkgreal=HTTP-Daemon pkgver=6.06 _author=OALDERS _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgrel=0 pkgdesc="HTTP::Daemon perl module" url="https://metacpan.org/release/HTTP-Daemon" arch="noarch" license="GPL-2.0-only or Artistic-1.0-Perl" depends="perl-http-date perl-http-message" checkdepends="perl-test-needs" makedepends="perl-module-build" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { PERL_MB_FALLBACK_SILENCE_WARNING=1 perl Build.PL installdirs=vendor ./Build } check() { ./Build test } package() { ./Build install destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="8e6dcf4451aaa6bd5f38508a087e5bb9b7f5105e8e243d09bdd3f4be3d7009222b3d9f8e494f049b48f0caebf36f239b8bbc7b8edc805f7d32b1bbeb38431732 HTTP-Daemon-6.06.tar.gz"