mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-19 17:25:17 +03:00
50 lines
1.4 KiB
Text
50 lines
1.4 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Contributor: Celeste <cielesti@protonmail.com>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
pkgname=perl-net-async-xmpp
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Net-Async-XMPP
|
|
pkgver=0.003
|
|
pkgrel=0
|
|
pkgdesc="Asynchronous support for the XMPP Protocol"
|
|
url="https://metacpan.org/release/Net-Async-XMPP/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="
|
|
perl perl-curry perl-future perl-io-async
|
|
perl-io-async-resolver-dns perl-io-async-ssl
|
|
perl-mixin-event-dispatch perl-protocol-xmpp
|
|
"
|
|
checkdepends="perl-test-checkdeps perl-test-fatal"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/T/TE/TEAM/Net-Async-XMPP-$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
|
|
}
|
|
|
|
doc() {
|
|
local file; find "$pkgdir" -name "*.pod" | while read -r file; do
|
|
amove "${file#"$pkgdir"}"
|
|
done
|
|
default_doc
|
|
}
|
|
|
|
sha512sums="
|
|
6c5b187ae82fcff3ed3e2c976f8957d1b3a882c571fb291dfe0d89b0db296ffc43636d293f86a164f77fb1b43d6184b08714671497c16d8a8c35aa7ab6d4a036 Net-Async-XMPP-0.003.tar.gz
|
|
"
|