blob: 2f0c2b35043da70f254c04bc38f2f66f0ce03321 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $Id: PKGBUILD 84574 2013-02-20 04:52:41Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Chris Brannon <chris@the-brannons.com>
# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
# Contributor: Anders Bergh <anders1@gmail.com>
pkgname=luajit
pkgver=2.0.1
pkgrel=1
pkgdesc='Just-in-time compiler and drop-in replacement for Lua 5.1'
arch=('i686' 'x86_64')
url='http://luajit.org/'
license=('MIT')
depends=('gcc-libs')
source=(http://luajit.org/download/LuaJIT-${pkgver/rc/-rc}.tar.gz)
sha256sums=('2371cceb53453d8a7b36451e6a0ccdb66236924545d6042ddd4c34e9668990c0')
build() {
cd $srcdir/LuaJIT-$pkgver
make amalg PREFIX=/usr
}
package() {
cd $srcdir/LuaJIT-$pkgver
make install DESTDIR=$pkgdir PREFIX=/usr
install -Dm644 $srcdir/LuaJIT-$pkgver/COPYRIGHT \
$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT
}
|