# $Id: PKGBUILD 81293 2012-12-16 11:27:38Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski # Contributor: Chris Brannon # Contributor: Paulo Matias # Contributor: Anders Bergh pkgname=luajit pkgver=2.0.0 pkgrel=3 pkgdesc='Just-in-time compiler and replacement for Lua 5.1' arch=('i686' 'x86_64' 'mips64el') 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 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 }