mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-01 00:42:03 +01:00
testing/perl-rxperl: new aport
https://metacpan.org/release/RxPerl/ Implementation of Reactive Extensions / rxjs for Perl
This commit is contained in:
parent
ae667eecfd
commit
02604bfda4
45
testing/perl-rxperl/APKBUILD
Normal file
45
testing/perl-rxperl/APKBUILD
Normal file
@ -0,0 +1,45 @@
|
||||
# Automatically generated by apkbuild-cpan, template 4
|
||||
# Contributor: Celeste <cielesti@protonmail.com>
|
||||
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||
pkgname=perl-rxperl
|
||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=RxPerl
|
||||
pkgver=6.28.0
|
||||
pkgrel=0
|
||||
pkgdesc="Implementation of Reactive Extensions / rxjs for Perl"
|
||||
url="https://metacpan.org/release/RxPerl/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="perl perl-hash-ordered"
|
||||
makedepends="perl-module-build-tiny"
|
||||
checkdepends="perl-promise-es6 perl-test2-suite"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/K/KA/KARJALA/RxPerl-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="
|
||||
ebfe7e6fbc479d09ddc67d4f12d53e30351e48319fca149be37db27726eeeb8e87e2df0e34ddf3d1f7593b928be29850bfe729f7065e471656932ecc0e9f3a2a RxPerl-v6.28.0.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user