blob: d0d8a6a1d00c677741985aa9e5ce83ad1f64da7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Contributor: Curt Tilmes <Curt.Tilmes@nasa.gov>
# Maintainer: Curt Tilmes <Curt.Tilmes@nasa.gov>
pkgname=nqp
pkgver=2019.07.1
pkgrel=0
pkgdesc="Not Quite Perl"
url="https://github.com/perl6/nqp"
arch="all !x86 !armhf !armv7 !s390x"
options="!archcheck" # Arch dependencies are embedded
license="Artistic-2.0"
depends="moarvm"
makedepends="perl-utils moarvm-dev"
subpackages="$pkgname-doc"
source="https://github.com/perl6/nqp/releases/download/$pkgver/nqp-$pkgver.tar.gz"
build() {
perl Configure.pl --prefix=/usr --backends=moar
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
}
doc() {
cd "$builddir"
mkdir -p "$subpkgdir"/usr/share/doc/"$pkgname"
for file in CREDITS LICENSE README.pod VERSION docs examples; do
cp -r $file "$subpkgdir"/usr/share/doc/"$pkgname"
done
}
sha512sums="90c9cfbc3de165ba8c0b4653a849a6faafef9e3862743c3675277c25bc4578522a97a663a4ed7529831fa0b617c7412fcfe67b3e3ff1fc5994f6c42cdf7a4bc5 nqp-2019.07.1.tar.gz"
|