testing/raku-nativehelpers-blob: new aport

https://github.com/salortiz/NativeHelpers-Blob
NativeCall utilities for Blob and CArray
This commit is contained in:
Celeste 2025-07-21 07:32:04 +00:00
parent 7fcc3882be
commit cac10738dc

View File

@ -0,0 +1,39 @@
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=raku-nativehelpers-blob
pkgver=0.1.12
pkgrel=0
pkgdesc="NativeCall utilities for Blob and CArray"
url="https://github.com/salortiz/NativeHelpers-Blob"
# armhf, armv7, x86: "Can't determine actual Offset" exception raised
arch="all !armhf !armv7 !x86"
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/salortiz/NativeHelpers-Blob/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/NativeHelpers-Blob-$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'
}
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="
57bf6d784f741c1eafca2b5e67b73b23c9da253e4bb6f70b56294ab2757c08f230b98e09f6869ff5bc647bdb53a42bd6692c53e3fa58df3a0a5bd7422b6121d6 raku-nativehelpers-blob-0.1.12.tar.gz
"