aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nqp
diff options
context:
space:
mode:
authorCurt Tilmes <curt@tilmes.org>2018-02-20 09:26:19 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-27 21:20:57 +0000
commit6f33fb4651d968f69abbdd4303ff7a425e296316 (patch)
tree1dc48d7918089f05c973cfe81be5b0d7cd18e53d /testing/nqp
parent0ffa38bc9e7fee95689002f2cf9f2c12d40c5a41 (diff)
downloadaports-6f33fb4651d968f69abbdd4303ff7a425e296316.tar.bz2
aports-6f33fb4651d968f69abbdd4303ff7a425e296316.tar.xz
testing/rakudo: new aport
http://rakudo.org/ A compiler for the Perl 6 programming language
Diffstat (limited to 'testing/nqp')
-rw-r--r--testing/nqp/APKBUILD28
1 files changed, 10 insertions, 18 deletions
diff --git a/testing/nqp/APKBUILD b/testing/nqp/APKBUILD
index dd7763a549..ae266acb0b 100644
--- a/testing/nqp/APKBUILD
+++ b/testing/nqp/APKBUILD
@@ -9,42 +9,34 @@ arch="all"
options="!archcheck" # Arch dependencies are embedded
license="Artistic-2.0"
depends="moarvm"
-makedepends="perl-utils gcc musl-dev make moarvm-dev"
+makedepends="perl-utils moarvm-dev"
install=""
-subpackages="$pkgname-doc $pkgname-examples"
+subpackages="$pkgname-doc"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/perl6/nqp/archive/${pkgver}.tar.gz"
builddir="$srcdir"/"$pkgname"-"$pkgver"
build() {
cd "$builddir"
- perl Configure.pl --prefix=/usr --backends=moar
- make
+ perl Configure.pl --prefix=/usr --backends=moar
+ make
}
check() {
- cd "$builddir"
- make test
+ cd "$builddir"
+ make test
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install
}
doc() {
cd "$builddir"
mkdir -p "$subpkgdir"/usr/share/doc/"$pkgname"
- for file in CREDITS LICENSE README.pod VERSION docs; do
- cp -r $file "$subpkgdir"/usr/share/doc/"$pkgname"
- done
-}
-
-examples() {
- cd "$builddir"
- mkdir -p "$subpkgdir"/usr/share/doc/"$pkgname"
- for file in examples; do
- cp -r $file "$subpkgdir"/usr/share/doc/"$pkgname"
- done
+ for file in CREDITS LICENSE README.pod VERSION docs examples; do
+ cp -r $file "$subpkgdir"/usr/share/doc/"$pkgname"
+ done
}
sha512sums="6e12bd191522c1acc4195dfb98982b6ddc54decb5a40b9995ffc16fb0988bb96fb27057e77dedcbf2dfbc1b222a4fe92df19cb585ed53bb021b9d07b20275efc nqp-2018.02.tar.gz"