aports/testing/perl-rxperl-ioasync/APKBUILD
Celeste 40ea6c48d7 */*: add maintainer variable for aports i maintain
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
2024-10-16 16:20:45 +00:00

45 lines
1.2 KiB
Text

# Automatically generated by apkbuild-cpan, template 4
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=perl-rxperl-ioasync
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=RxPerl-IOAsync
pkgver=6.9.1
pkgrel=0
pkgdesc="IO::Async adapter for RxPerl"
url="https://metacpan.org/release/RxPerl-IOAsync/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-io-async perl-rxperl"
makedepends="perl-module-build-tiny"
checkdepends="perl-future perl-test2-suite"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/K/KA/KARJALA/RxPerl-IOAsync-v$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-v$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"
}
doc() {
local file; find "$pkgdir" -name "*.pod" | while read -r file; do
amove "${file#"$pkgdir"}"
done
default_doc
}
sha512sums="
27ea3a38481fca3901f6aa9f0f19baa3165d6d67aa541a5f0ce506a7244b72dbd0053db4539ecf1cf24e5e1dac7c789987406080713284f8c5791d7a7ec1c758 RxPerl-IOAsync-v6.9.1.tar.gz
"