mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-14 17:57:08 +02:00
https://metacpan.org/release/Mixin-Event-Dispatch/ Mixin methods for simple event/message dispatch framework
48 lines
1.4 KiB
Plaintext
48 lines
1.4 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 3
|
|
# Contributor: Celeste <cielesti@protonmail.com>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
pkgname=perl-mixin-event-dispatch
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Mixin-Event-Dispatch
|
|
pkgver=2.000
|
|
pkgrel=0
|
|
pkgdesc="Mixin methods for simple event/message dispatch framework"
|
|
url="https://metacpan.org/release/Mixin-Event-Dispatch/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-list-utilsby"
|
|
checkdepends="
|
|
perl-moo perl-role-tiny perl-test-checkdeps perl-test-fatal
|
|
perl-test-memory-cycle perl-test-refcount
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/T/TE/TEAM/Mixin-Event-Dispatch-$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
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
doc() {
|
|
local file; find "$pkgdir" -name "*.pod" | while read -r file; do
|
|
amove "${file#"$pkgdir"}"
|
|
done
|
|
default_doc
|
|
}
|
|
|
|
sha512sums="
|
|
bda967ae51d7560014e60eba37f0e57f982ef6ddf848942981dfa406bb7ef2d33db0f525351ebd2d94138512951e37732c6ab1a32edd5dbae727ba7a27861c3b Mixin-Event-Dispatch-2.000.tar.gz
|
|
"
|