4 pkgdesc="LuaGL is a library that provides access to all of the OpenGL funcionality from Lua script language."
5 url="http://luagl.sourceforge.net"
9 [ "${CARCH}" = 'x86_64' ] && _arch='_64'
10 source=("http://downloads.sourceforge.net/project/luagl/1.6/luagl-1.6_Linux26g4${_arch}_lib.tar.gz?r=&ts=1294592325&use_mirror=mesh")
11 md5sums=('69cd839a4f89d66f40766e95d670d3fb')
12 [ "${CARCH}" = 'x86_64' ] && md5sums=('b7de99f7f1e0d3b9126854b7422b7015')
16 install -Dm755 libluagl.a $pkgdir/usr/lib/lua/5.1/luagl.a
17 install -Dm755 libluagl.so $pkgdir/usr/lib/lua/5.1/luagl.so
18 install -Dm755 libluaglu.a $pkgdir/usr/lib/lua/5.1/luaglu.a
19 install -Dm755 libluaglu.so $pkgdir/usr/lib/lua/5.1/luaglu.so
21 install -Dm644 include/luagl.h $pkgdir/usr/include/luagl.h
22 install -Dm644 include/luaglu.h $pkgdir/usr/include/luaglu.h
25 ln -s lua/5.1/luagl.so libluagl.so