1 # Contributor: Dmitriy Morozov <archlinux@foxcub.org>
5 pkgdesc="Bidirectional Lua-Python bridge."
6 url="http://labix.org/lunatic-python"
10 source=(http://labix.org/download/$pkgname/$pkgname-$pkgver.tar.bz2 setup.patch lua5.1.patch python.patch)
14 cd $startdir/src/$pkgname-$pkgver
15 patch setup.py < $startdir/src/setup.patch
16 patch -p1 < $startdir/src/lua5.1.patch
17 patch -p1 < $startdir/src/python.patch
18 python2 setup.py build
19 python2 setup.py install --prefix=$startdir/pkg/usr
21 mkdir -p $startdir/pkg/usr/share/lua/5.1/
22 cp $startdir/src/$pkgname-$pkgver/python.lua $startdir/pkg/usr/share/lua/5.1/
24 md5sums=('4044274f14e57f26384e2f9cfc348f30'
25 '89a5c14cb21eff582654d42cb7080c69'
26 'f5a7d850814546e9d290f5bfcb9b9adc'
27 'ea95d65a63c938dba58c3a5e64c7e340')