# Maintainer: spider-mario # Contributor: Marcin Karpezo # Contributor: Daenyth pkgname=rakudo pkgver=2018.01 pkgrel=1 pkgdesc="Perl6 compiler for MoarVM" arch=('i686' 'x86_64') url='http://rakudo.org/' license=(PerlArtistic) groups=('perl6') depends=("nqp>=$pkgver") makedepends=('perl>=5.8') provides=('rakudo-moarvm' 'perl6') replaces=('rakudo-moarvm') conflicts=('rakudo-moarvm') options=('!makeflags') source=("http://rakudo.org/downloads/$pkgname/$pkgname-$pkgver.tar.gz") sha512sums=('5030089265f7c4d0bde663eb1d26a0e40ddc9b1dedfd7a350a2238f5136f08abb986d2568c05efe031248ecacdd19888be6e08b954bbeedc03e769d3016b17ea') build() { cd "$pkgname-$pkgver" perl Configure.pl --prefix=/usr --backends=moar make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install install -Dm755 tools/install-dist.pl "$pkgdir/usr/bin/perl6-install-dist" }