updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / lunatic-python / PKGBUILD
blob2fb2cd8b8c02a6e50f17aed8891e690ecf4296ef
1 # Contributor: Dmitriy Morozov <archlinux@foxcub.org> 
2 pkgname=lunatic-python
3 pkgver=1.0
4 pkgrel=3
5 pkgdesc="Bidirectional Lua-Python bridge."
6 url="http://labix.org/lunatic-python"
7 arch=('i686' 'x86_64')
8 license="GPL" 
9 depends=('python2') 
10 source=(http://labix.org/download/$pkgname/$pkgname-$pkgver.tar.bz2 setup.patch lua5.1.patch python.patch)
12 build() 
13
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')