1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/testing/perl-mojo-reactor-ioasync/APKBUILD
2024-01-12 12:47:59 +00:00

37 lines
1.1 KiB
Text

# Automatically generated by apkbuild-cpan, template 4
# Contributor: Celeste <cielesti@protonmail.com>
# Maintainer: Celeste <cielesti@protonmail.com>
pkgname=perl-mojo-reactor-ioasync
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Mojo-Reactor-IOAsync
pkgver=1.002
pkgrel=0
pkgdesc="IO::Async backend for Mojo::Reactor"
url="https://metacpan.org/release/Mojo-Reactor-IOAsync/"
arch="noarch"
license="Artistic-2.0"
depends="perl perl-io-async perl-mojolicious"
makedepends="perl-module-build-tiny"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/D/DB/DBOOK/Mojo-Reactor-IOAsync-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL \
--installdirs=vendor \
--create_packlist=0
./Build
}
check() {
./Build test
}
package() {
./Build install --destdir="$pkgdir"
}
sha512sums="
9a51b4b18b6b7a1a62a4d6340dd07bec970065d43e17d2bd800395b96ef1859a4d59198c9641ffb8b378625fbe65aa250a02feca790e4f0daf8faf21299fdc23 Mojo-Reactor-IOAsync-1.002.tar.gz
"