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
39 lines
1.1 KiB
Text
39 lines
1.1 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=perl-role-eventemitter
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Role-EventEmitter
|
|
pkgver=0.003
|
|
pkgrel=0
|
|
pkgdesc="Role::Tiny role for event emitting objects"
|
|
url="https://metacpan.org/release/Role-EventEmitter/"
|
|
arch="noarch"
|
|
license="Artistic-2.0"
|
|
depends="perl perl-role-tiny"
|
|
checkdepends="perl-future perl-test-needs"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/D/DB/DBOOK/Role-EventEmitter-$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
|
|
}
|
|
|
|
sha512sums="
|
|
592cb5c1586a57923074a4e055c62ec29de405f37485ed0fbe6f741a87ba30860739019576717c6a9a9399631fd1b70005813a1ac8cff975e0ef9a35ad387813 Role-EventEmitter-0.003.tar.gz
|
|
"
|