1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-15 04:05:15 +03:00
aports/testing/raku-shell-command/APKBUILD
Celeste 5d24687eab testing/raku-shell-command: new aport
https://github.com/raku-community-modules/Shell-Command
Cross-platform routines emulating common *NIX shell commands
2025-06-08 07:17:38 +00:00

41 lines
1.2 KiB
Text

# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=raku-shell-command
pkgver=1.1
pkgrel=0
pkgdesc="Cross-platform routines emulating common *NIX shell commands"
url="https://github.com/raku-community-modules/Shell-Command"
arch="all"
license="MIT"
depends="rakudo raku-file-find"
makedepends="moarvm-dev rakudo-dev"
checkdepends="perl-utils"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/raku-community-modules/Shell-Command/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/Shell-Command-$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/
install -Dvm644 LICENSE \
-t "$pkgdir"/usr/share/licenses/$pkgname/
}
sha512sums="
af32be6d6904425eba9a83bca3b9b82f6bdfcce7bcc131914779019d7fb7e7e108cc3cea76cef341bb34e697eee68ececaf797a807b2a53b43a9a2e27225b695 raku-shell-command-1.1.tar.gz
"