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

testing/raku-file-which: new aport

https://github.com/azawawi/raku-file-which
Cross-platform executable path finder
This commit is contained in:
Celeste 2025-06-08 06:48:02 +00:00
parent 5d24687eab
commit 755fe094b1

View file

@ -0,0 +1,40 @@
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=raku-file-which
pkgver=1.0.4
pkgrel=0
pkgdesc="Cross-platform executable path finder"
url="https://github.com/azawawi/raku-file-which"
arch="all"
license="MIT"
depends="rakudo"
makedepends="moarvm-dev rakudo-dev"
checkdepends="perl-utils"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/azawawi/raku-file-which/archive/refs/tags/$pkgver.tar.gz"
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/
install -Dvm644 LICENSE \
-t "$pkgdir"/usr/share/licenses/$pkgname/
}
sha512sums="
839a1f52dc5efb01d79d3fff34b2201c52ce855e24fc2204ad09685b0318b362ccdbbb0aa52291bbfacb2bf11a2301464c4d555dc954519c24278291420c7ffd raku-file-which-1.0.4.tar.gz
"