updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / rakudostar / PKGBUILD
blob8cf26b1e18a3fb2c315f8dbde3bb93359f3261ea
1 # Maintainer: Gorodinskiy Konstantin <gor.konstantin@gmail.com>
2 pkgname=rakudostar
3 pkgver=2010.12
4 pkgrel=1
5 pkgdesc="Perl6 on Parrot VM"
6 arch=("i686" "x86_64")
7 url="http://rakudo.org/"
8 license=(PerlArtistic)
9 depends=()
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")
14 build() {
15         cd "$srcdir/rakudo-star-$pkgver"
16         perl Configure.pl || return 1
17         mkdir -p "$pkgdir"/usr/bin
18   make
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