updated on Fri Jan 13 00:14:41 UTC 2012
[aur-mirror.git] / luaglut / PKGBUILD
blob62526ce8f285feee36db018e563792530ea467ab
1 # Maintainer: Lucas Hermann Negri <kkndrox@gmail.org>
3 pkgname=luaglut
4 pkgver=0.5
5 pkgrel=2
6 pkgdesc="OpenGL and GLUT bindings to Lua" 
7 arch=(i686 x86_64)
8 url="http://lua-users.org/files/wiki_insecure/users/VarolKaptan/" 
9 depends=('freeglut' 'lua>=5.1') 
10 makedepends=('gcc')
11 license=(LGPL)
12 source=(http://lua-users.org/files/wiki_insecure/users/VarolKaptan/$pkgname-$pkgver.tar.gz)
13 md5sums=('9b0ae78d829af770dab2b88c9190c90c')
15 build() { 
16         cd $startdir/src/$pkgname-$pkgver
17         make || 1
18         mkdir -p $startdir/pkg/usr/lib/lua/5.1 || 1
19         cp $startdir/src/$pkgname-$pkgver/{luagl,luaglut,memarray}.so $startdir/pkg/usr/lib/lua/5.1 || 1