mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-21 00:21:37 +01:00
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
# Contributor: Curt Tilmes <Curt.Tilmes@nasa.gov>
|
|
# Maintainer: Curt Tilmes <Curt.Tilmes@nasa.gov>
|
|
pkgname=nqp
|
|
pkgver=2019.03
|
|
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"
|
|
install=""
|
|
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
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
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="6d4e00fa8d103db7c8b65c4174d1b5170d65d1246cb9baacd73ccf247979d4e135e9ca573a5f7140d5dc6cffb0576313029fafff1559a88464b543a8fe6fe020 nqp-2019.03.tar.gz"
|