1 # Maintainer: Kyle Brady <kyle at spark-gap dot com>
2 # Contributor: Patrick Hof <courts@offensivethinking.org>
3 # Contributor: Michael Fellinger <mf@rubyists.com>
8 pkgdesc="An open source programming language."
13 makedepends=('neko' 'ocaml' 'cvs' 'subversion' 'zlib')
15 install=${pkgname}.install
16 source=('http://haxe.org/file/install.ml'
19 md5sums=('b6f240860962274dc1fc60d7e2f3b066'
20 '5e0e656293e92a6437d76f2f406438b5'
21 '79cbf6ebdb3d56e980d1a17fa9cb3b2d')
25 sed -i 's+:anonymous+:anonymous:anonymous+' install.ml || return 1
28 install -d ${pkgdir}/usr/bin/ ${pkgdir}/opt/haxe/
29 cp -r haxe/std ${pkgdir}/opt/haxe/
30 cp bin/* ${pkgdir}/usr/bin/
31 find "$pkgdir" -name ".svn" -print0 | xargs -0 rm -rf
33 HAXE_LIBRARY_PATH=${srcdir}/haxe/std:.
34 bin/haxe haxe/std/tools/haxedoc/haxedoc.hxml
35 bin/haxe haxe/std/tools/haxelib/haxelib.hxml
37 install haxedoc haxelib ${pkgdir}/usr/bin/
38 install -D -T "${srcdir}/haxe.sh" "${pkgdir}/etc/profile.d/haxe.sh"
39 install -D -T "${srcdir}/haxe.csh" "${pkgdir}/etc/profile.d/haxe.csh"
42 # vim:set ts=2 sw=2 et: