# Maintainer: spider-mario # Contributor: Marcin Karpezo # Contributor: Daenyth pkgname=rakudo pkgver=2021.05 pkgrel=1 pkgdesc="Raku 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=("https://rakudo.org/dl/$pkgname/$pkgname-$pkgver.tar.gz") b2sums=('a6467bac01cf37fb8992d61cbb40d087c83396488abf30a2dea17626c8f821fe4e1e66cd4c2ea67e68bfac5ea6dc7386e113d435c5c57bdc52697dc81e47c5db') 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.p6 "$pkgdir"/usr/bin/perl6-install-dist }