summaryrefslogtreecommitdiff
path: root/community/luajit/PKGBUILD
blob: 330586843079dcf06c3528a9f614d7fb56ffdfbb (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 79833 2012-11-13 17:51:21Z bpiotrowski $
# Maintainer:  Chris Brannon <chris@the-brannons.com>
# Maintainer:  Bartłomiej Piotrowski 
# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
# Contributor: Anders Bergh <anders1@gmail.com>

pkgname=luajit
pkgver=2.0.0
pkgrel=1
pkgdesc='A Just-In-Time Compiler for Lua'
arch=('i686' 'x86_64')
url='http://luajit.org/'
license=('MIT')
depends=('gcc-libs') 
source=(http://luajit.org/download/LuaJIT-${pkgver/rc/-rc}.tar.gz)
md5sums=('97a2b87cc0490784f54b64cfb3b8f5ad')

build() { 
  cd $srcdir/LuaJIT-$pkgver
  make 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
}