# Automatically generated by apkbuild-cpan, template 3 # Contributor: Timo Teräs # Maintainer: Timo Teräs pkgname=perl-server-starter #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Server-Starter pkgver=0.35 pkgrel=4 pkgdesc="a superdaemon for hot-deploying server programs" url="https://metacpan.org/release/Server-Starter/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl" makedepends="perl-dev perl-module-build" checkdepends="perl-test-tcp perl-test-requires perl-test-sharedfork" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/K/KA/KAZUHO/Server-Starter-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') perl Build.PL --installdirs=vendor ./Build } check() { ./Build test } package() { ./Build install --destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums=" d9ba5be08424b1b37ebaa765fbb6318353214cb8d8381227eae2b6445bbd21d853888a72fbcef2ba99dd6ba97bed6217af9e8f44b371bc15ec5d9c97b00c17d2 Server-Starter-0.35.tar.gz "