aports/testing/perl-future-asyncawait-hooks/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

38 lines
1.2 KiB
Text

# Automatically generated by apkbuild-cpan, template 4
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=perl-future-asyncawait-hooks
pkgver=0.02
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Future-AsyncAwait-Hooks
pkgdesc="Scoped hook blocks that run extra code around 'await' expressions"
url="https://metacpan.org/release/Future-AsyncAwait-Hooks/"
arch="all"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-future perl-future-asyncawait"
makedepends="perl-dev perl-module-build perl-xs-parse-keyword"
checkdepends="perl-test-memorygrowth"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Future-AsyncAwait-Hooks-$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="
01c4d73f1061ee1a6cee11ce878423d65957f9f2808e1d8b99445c15753c7e8cdceffa8a7aa30651fa44a31e9e0755671de17e09a07e99ade4e48e868dea56f8 Future-AsyncAwait-Hooks-0.02.tar.gz
"