1 # Maintainer: Gorodinskiy Konstantin <gor.konstantin@gmail.com>
5 pkgdesc="Perl6 on Parrot VM"
7 url="http://rakudo.org/"
10 makedepends=("perl>=5.8" "parrot>=2.11.0-2")
11 source=(http://cloud.github.com/downloads/rakudo/star/rakudo-star-$pkgver.tar.gz)
12 md5sums=("06623c9719c846e15016dfd344616307")
15 cd "$srcdir/rakudo-star-$pkgver"
16 perl Configure.pl || return 1
17 mkdir -p "$pkgdir"/usr/bin
19 cp rakudo/perl6 "$pkgdir"/usr/bin
20 export PERL6LIB="$pkgdir$(parrot_config libdir)$(parrot_config versiondir)/languages/perl6/lib"
21 make DESTDIR="$pkgdir" install || return 1