mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-17 11:17:05 +02:00
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 4
|
|
# Contributor: Celeste <cielesti@protonmail.com>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
pkgname=perl-rxperl-mojo
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=RxPerl-Mojo
|
|
pkgver=6.8.1
|
|
pkgrel=0
|
|
pkgdesc="Mojo::IOLoop adapter for RxPerl"
|
|
url="https://metacpan.org/release/RxPerl-Mojo/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-mojolicious perl-rxperl"
|
|
makedepends="perl-module-build-tiny"
|
|
checkdepends="perl-test2-suite"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/K/KA/KARJALA/RxPerl-Mojo-v$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-v$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"
|
|
}
|
|
|
|
doc() {
|
|
local file; find "$pkgdir" -name "*.pod" | while read -r file; do
|
|
amove "${file#"$pkgdir"}"
|
|
done
|
|
default_doc
|
|
}
|
|
|
|
sha512sums="
|
|
c482ffd904ee2e85df8a0a5952dbe534b3a2b6458da781cffae0f5e87e92cea978f03ce0308c7de18b1570acf9b74e5f510309d2fccdeb52d6b7ac2e32894cf0 RxPerl-Mojo-v6.8.1.tar.gz
|
|
"
|