# Template build file for 'rakudo-star'. pkgname=rakudo-star only_for_archs="i686 x86_64" version=2015.09 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 " homepage="http://rakudo.org" license="Artistic-2.0" distfiles="http://rakudo.org/downloads/star/rakudo-star-${version}.tar.gz" checksum="99b0332c4a05d444876efff58714104fc3cbf5f875174c1e410bedca03a6880d" depends="MoarVM>=${version} nqp>=${version}" pre_install() { mkdir -p /usr/lib/perl6/share/perl6/runtime ln -s /destdir/rakudo-star-${version}/usr/lib/perl6/share/perl6/runtime/perl6.moarvm /usr/lib/perl6/share/perl6/runtime/perl6.moarvm } post_install() { vinstall ${FILESDIR}/rakudo-star.sh 644 etc/profile.d } do_clean() { rm /usr/lib/perl6/share/perl6/runtime/perl6.moarvm rmdir /usr/lib/perl6/share/perl6/runtime }