1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00

testing/raku-librarymake: new aport

https://github.com/retupmoca/P6-LibraryMake
Simplify building native code for Raku modules
This commit is contained in:
Celeste 2025-06-08 06:48:03 +00:00
parent 755fe094b1
commit 89403f50ae

View file

@ -0,0 +1,45 @@
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=raku-librarymake
pkgver=1.0.5
pkgrel=0
pkgdesc="Simplify building native code for Raku modules"
url="https://github.com/retupmoca/P6-LibraryMake"
arch="all"
license="MIT"
depends="
rakudo
raku-file-which
raku-shell-command
"
makedepends="moarvm-dev rakudo-dev"
checkdepends="perl-utils"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/retupmoca/P6-LibraryMake/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/P6-LibraryMake-$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/
install -Dvm644 LICENSE \
-t "$pkgdir"/usr/share/licenses/$pkgname/
}
sha512sums="
2d8454962acb079431e3d15667f935fe5921c4ebe1c973fe122e4d565c4dab2879e63bdd3434191378d5913fd88291fc4cdc0455f6cce6ca015e4cd81c4f9b15 raku-librarymake-1.0.5.tar.gz
"