mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 4
|
|
# Contributor: Celeste <cielesti@protonmail.com>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
pkgname=perl-tickit-async
|
|
pkgver=0.25
|
|
pkgrel=1
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Tickit-Async
|
|
pkgdesc="Use Tickit with IO::Async"
|
|
url="https://metacpan.org/release/Tickit-Async/"
|
|
arch="all"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-io-async perl-tickit"
|
|
makedepends="perl-dev perl-module-build"
|
|
checkdepends="perl-test-refcount perl-test-hexstring"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Tickit-Async-$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() {
|
|
# Tests pass locally, but fail to construct Tickit::Term in CI
|
|
./Build test --test_files 't/00use.t t/02input.t'
|
|
}
|
|
|
|
package() {
|
|
./Build install --destdir="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
1c04646110981c9911a1ebe0ac92370abf32b2dde25f3452caf536f972783cdcd46ad03348eb97faa0cd6410c3f14dd4f15f72dbda7dfaeae64a0ed3d2378661 Tickit-Async-0.25.tar.gz
|
|
"
|