1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
6 pkgdesc="Lets a Lua application call load dynamic libraries and call C functions in a portable way, using libffi."
8 url="http://alien.luaforge.net/"
10 depends=('lua' 'libffi')
11 source=("$url$pkgname-$pkgver.tar.gz" "Makefile.$pkgname")
12 md5sums=('d6b265798f6d610d4651d054f601d468'
13 'dc7d4074bd4ea6935afa59c374fa2e05')
16 cd "$srcdir/$pkgname-$pkgver"
19 cp ../Makefile.$pkgname .
22 sed -i "/luarocks/d" samples/*.lua
24 # Fixing constants script
25 sed -i "s/lua \(constants\).lua/$pkgname-\1/" src/constants
28 make -f Makefile.$pkgname
32 cd "$srcdir/$pkgname-$pkgver"
35 make -f Makefile.$pkgname DESTDIR="$pkgdir/" install