mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 14:26:38 +02:00
leaving the Maintainer comment there for better visual cues, syntax highlighting, and easy conversion to a Contributor comment since Contributor comments are not being removed, just treat my Maintainer comments like Contributor ones, as a normal comment
55 lines
1.5 KiB
Text
55 lines
1.5 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=perl-ryu
|
|
pkgver=4.001
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Ryu
|
|
pkgdesc="Stream and data flow handling for async code"
|
|
url="https://metacpan.org/release/Ryu/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="
|
|
perl perl-curry perl-future perl-future-queue
|
|
perl-indirect perl-json-maybexs perl-list-utilsby
|
|
perl-log-any perl-ref-util perl-syntax-keyword-try
|
|
perl-text-csv
|
|
"
|
|
checkdepends="
|
|
perl-log-any-adapter-tap perl-test-checkdeps perl-test-deep
|
|
perl-test-fatal perl-test-files perl-test-hexstring
|
|
perl-test-refcount perl-test-warnings perl-variable-disposition
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/T/TE/TEAM/Ryu-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
|
|
INSTALLDIRS=vendor \
|
|
NO_PACKLIST=1 \
|
|
NO_PERLLOCAL=1
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
doc() {
|
|
local file; find "$pkgdir" -name "*.pod" | while read -r file; do
|
|
amove "${file#"$pkgdir"}"
|
|
done
|
|
default_doc
|
|
}
|
|
|
|
sha512sums="
|
|
0e376861cd5a5f47d4bede19738ee1d1189dcbec5f8adb12d9b4bd5cfb7464c1d5b51a6dd50df2236382637e383894e9f2f28df07bd5886d02128b12977debbc Ryu-4.001.tar.gz
|
|
"
|