mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
testing/raku-oo-monitors: new aport
https://github.com/raku-community-modules/OO-Monitors Monitors with condition variables
This commit is contained in:
parent
edb964aa46
commit
bbb2545a8b
1 changed files with 38 additions and 0 deletions
38
testing/raku-oo-monitors/APKBUILD
Normal file
38
testing/raku-oo-monitors/APKBUILD
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||||
|
maintainer="Celeste <cielesti@protonmail.com>"
|
||||||
|
pkgname=raku-oo-monitors
|
||||||
|
pkgver=1.1.5
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="Monitors with condition variables"
|
||||||
|
url="https://github.com/raku-community-modules/OO-Monitors"
|
||||||
|
arch="all"
|
||||||
|
license="Artistic-2.0"
|
||||||
|
depends="rakudo"
|
||||||
|
makedepends="moarvm-dev rakudo-dev"
|
||||||
|
checkdepends="perl-utils"
|
||||||
|
subpackages="$pkgname-doc"
|
||||||
|
source="$pkgname-$pkgver.tar.gz::https://github.com/raku-community-modules/OO-Monitors/archive/refs/tags/$pkgver.tar.gz"
|
||||||
|
builddir="$srcdir/OO-Monitors-$pkgver"
|
||||||
|
options="!archcheck" # Precompiled arch dependent files included (quiet noarch warning)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
RAKUDO_RERESOLVE_DEPENDENCIES=0 \
|
||||||
|
/usr/share/rakudo/tools/install-dist.raku \
|
||||||
|
--to=output --for=vendor
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
prove -e 'raku -Ilib' --ext .rakutest
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
mkdir -p "$pkgdir"/usr/share/rakudo
|
||||||
|
cp -RT output "$pkgdir"/usr/share/rakudo/vendor
|
||||||
|
|
||||||
|
install -Dvm644 META6.json README.md \
|
||||||
|
-t "$pkgdir"/usr/share/doc/$pkgname/
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
d3b7bc8710ba2c54438824084dc0f16b3b4107fb026b8065190d9e02dc3b1f688fca2992fbc1f9a608dc92e66d52d46bb712fdae3e8405a3129babb9c71d7c58 raku-oo-monitors-1.1.5.tar.gz
|
||||||
|
"
|
Loading…
Add table
Add a link
Reference in a new issue