mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 02:54:23 +02:00
45 lines
1 KiB
Text
45 lines
1 KiB
Text
# Contributor: Curt Tilmes <Curt.Tilmes@nasa.gov>
|
|
# Maintainer: Curt Tilmes <Curt.Tilmes@nasa.gov>
|
|
pkgname=nqp
|
|
pkgver=2025.05
|
|
pkgrel=0
|
|
pkgdesc="Not Quite Perl"
|
|
url="https://github.com/Raku/nqp"
|
|
arch="all"
|
|
options="!archcheck" # Arch dependencies are embedded
|
|
license="Artistic-2.0"
|
|
depends="moarvm~$pkgver"
|
|
makedepends="
|
|
moarvm-dev~$pkgver
|
|
perl-utils
|
|
"
|
|
checkdepends="perl-test-harness"
|
|
subpackages="$pkgname-doc"
|
|
source="https://github.com/Raku/nqp/releases/download/$pkgver/nqp-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
perl Configure.pl \
|
|
--prefix=/usr \
|
|
--backends=moar
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export TEST_JOBS=$JOBS
|
|
export HARNESS_VERBOSE=1
|
|
|
|
msg "Running $TEST_JOBS parallel test jobs"
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
install -Dvm644 CREDITS LICENSE README.pod VERSION \
|
|
-t "$pkgdir"/usr/share/doc/"$pkgname"
|
|
cp -vr docs examples "$pkgdir"/usr/share/doc/"$pkgname"/
|
|
}
|
|
|
|
sha512sums="
|
|
ca65894b965d0f779928f0115279717db98a1e24ca5059198a87b2853ed8f26bcd7d0eab6116143797c63cabc86814507395c0ba6ff795e20140ac57de1e1f78 nqp-2025.05.tar.gz
|
|
"
|