1 # Maintainer: Dwight Schauer <dschauer at gmail dot com>
2 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
3 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
4 # Contributor: Michael 'manveru' Fellinger <m.fellinger@gmail.com>
9 pkgdesc="A high-level language which can also be used as an embedded scripting language"
10 url="http://nekovm.org"
12 arch=('x86_64' 'i686')
13 depends=('gc' 'gtk2' 'libmysqlclient')
14 makedepends=('pkgconfig')
16 source=(http://nekovm.org/_media/$pkgname-$pkgver.tar.gz neko_mod.patch)
21 sed 's|= -Wall -O3|+=|g;s|-mkdir|mkdir -p|g;/strip/d' -i Makefile
24 [ "$CARCH" = "x86_64" ] && export CFLAGS+=" -D_64BITS"
26 patch -p0 -i $srcdir/neko_mod.patch --verbose
29 make libneko || return 1
30 make neko std || return 1
33 install -d "$pkgdir"/usr/{bin,lib}
34 make INSTALL_PREFIX="$pkgdir"/usr install
36 find "$pkgdir"/usr/lib -type f -exec chmod 644 {} \;
39 sha256sums=('3cfcc73a665559df97126b172510ccff934325d6703d76c74fc8cc66f8112725'
40 'b84765649668b3c719e71eba91aea0a7936edf9caf6c131b46bb6a441771a2c1')