# $Id: PKGBUILD 84934 2013-02-26 10:19:55Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: mpie pkgname=parrot pkgver=5.1.0 #_rel=stable _rel=devel pkgrel=2 pkgdesc="Standalone VM that can execute bytecode compiled dynamic languages" arch=('x86_64' 'i686' 'mips64el') url="http://www.parrotcode.org/" license=('GPL') depends=('icu' 'openssl' 'libffi') makedepends=('perl-json') optdepends=('freeglut') options=('!makeflags') source=(ftp://ftp.parrot.org/pub/parrot/releases/$_rel/$pkgver/$pkgname-$pkgver.tar.bz2) md5sums=('cf879f76d56f007107c143a1b63037c9') build() { cd "$srcdir/$pkgname-$pkgver" perl Configure.pl --prefix=/usr \ --parrot_is_shared \ --disable-rpath \ --optimize export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:$(pwd)/blib/lib" make all parrot_utils docs html } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install-dev sed -i "s#$srcdir#/usr/src#" \ $pkgdir/usr/lib/parrot/$pkgver/tools/lib/Parrot/Config/Generated.pm }