diff --git a/srcpkgs/rakudo-star/files/rakudo-star.sh b/srcpkgs/rakudo-star/files/rakudo-star.sh new file mode 100644 index 00000000000..9185ba9a251 --- /dev/null +++ b/srcpkgs/rakudo-star/files/rakudo-star.sh @@ -0,0 +1 @@ +export PATH="$PATH:/usr/lib/perl6/bin" diff --git a/srcpkgs/rakudo-star/template b/srcpkgs/rakudo-star/template new file mode 100644 index 00000000000..635e7e19c7c --- /dev/null +++ b/srcpkgs/rakudo-star/template @@ -0,0 +1,21 @@ +# Template build file for 'rakudo-star'. +pkgname=rakudo-star +version=2014.09 +wrksrc="rakudo-star-${version}" +revision=1 +build_style=configure +configure_script="perl Configure.pl" +configure_args="--prefix=/usr/lib/perl6 --backends=moar" +hostmakedepends="perl>=5.20 moarvm>=2014.09 nqp>=2014.09" +makedepends="${hostmakedepends}" +depends="moarvm>=2014.09 nqp>=2014.09" +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-2014.09.tar.gz" +checksum=e7cfc6f4d92d9841f03246d68d51ed54d48df08736b0bd73626fe45196498649 + +post_install() { + vinstall ${FILESDIR}/rakudo-star.sh 644 etc/profile.d +}