mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-14 17:57:08 +02:00
40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
# 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
|
|
"
|