equal
deleted
inserted
replaced
1 # Contributor: Anders Bergh <anders1@gmail.com> |
|
2 pkgname=luajit |
|
3 pkgver=1.1.3 |
|
4 pkgrel=5 |
|
5 pkgdesc="LuaJIT is a Just-In-Time Compiler for Lua 5.1. LuaJIT is based on Lua, a powerful, light-weight programming language." |
|
6 arch=(i686) |
|
7 url="http://luajit.org/" |
|
8 depends=(readline) |
|
9 source=(http://luajit.org/download/LuaJIT-$pkgver.tar.gz luajit-arch.patch) |
|
10 md5sums=('f5db1a147ed3d34677ad1ef310c56da7' |
|
11 '0e61ba3d7d93c29f40f5a1967228833b') |
|
12 license=('custom') |
|
13 |
|
14 build() { |
|
15 cd "$startdir/src/LuaJIT-$pkgver" |
|
16 |
|
17 make linux_rl || return 1 |
|
18 make INSTALL_TOP=$startdir/pkg/usr install || return 1 |
|
19 |
|
20 install -D -m 644 etc/luajit.pc "$startdir/pkg/usr/lib/pkgconfig/luajit.pc" |
|
21 install -D -m 644 COPYRIGHT "$startdir/pkg/usr/share/licenses/luajit/COPYRIGHT" |
|
22 } |
|