summaryrefslogtreecommitdiff
path: root/community/luajit/PKGBUILD
blob: 8c6819948b17bc93fd2fd2d19bb72f55c5705f63 (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
# $Id: PKGBUILD 112332 2014-05-31 14:02:42Z bpiotrowski $
# Maintainer:  Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# 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.3
pkgrel=3
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.tar.gz)
md5sums=('f14e9104be513913810cd59c8c658dc0')

build() {
  cd LuaJIT-$pkgver
  make amalg PREFIX=/usr
}

package() {
  cd LuaJIT-$pkgver
  make install DESTDIR="$pkgdir" PREFIX=/usr

  install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYRIGHT
}