# Template build file for 'rakudo-star'.
pkgname=rakudo-star
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
version=2015.06
revision=1
build_style=configure
configure_script="perl Configure.pl"
configure_args="--prefix=/usr/lib/perl6 --backends=moar"
hostmakedepends="perl MoarVM nqp"
makedepends="${hostmakedepends}"
short_desc="Rakudo is an implementation of Perl 6 language"
maintainer="Ruslan <axetwe@gmail.com>"
homepage="http://rakudo.org"
license="Artistic-2.0"
distfiles="http://rakudo.org/downloads/star/rakudo-star-${version}.tar.gz"
checksum="126491a2c9f408239fb8ed94d5369c9839e3fbe284fdfbfc4e45160ce2db5bc7"
depends="MoarVM nqp"

post_install() {
	vinstall ${FILESDIR}/rakudo-star.sh 644 etc/profile.d
}
