summaryrefslogtreecommitdiff
path: root/community/luajit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/luajit/PKGBUILD')
-rw-r--r--community/luajit/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/community/luajit/PKGBUILD b/community/luajit/PKGBUILD
index 9b0fbd0f9..708c4736e 100644
--- a/community/luajit/PKGBUILD
+++ b/community/luajit/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 84574 2013-02-20 04:52:41Z bpiotrowski $
+# $Id: PKGBUILD 85940 2013-03-09 14:50:34Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Chris Brannon <chris@the-brannons.com>
# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
@@ -6,20 +6,23 @@
pkgname=luajit
pkgver=2.0.1
-pkgrel=1
+pkgrel=2
pkgdesc='Just-in-time compiler and drop-in 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)
-sha256sums=('2371cceb53453d8a7b36451e6a0ccdb66236924545d6042ddd4c34e9668990c0')
+source=(http://luajit.org/download/LuaJIT-${pkgver/rc/-rc}.tar.gz
+ http://luajit.org/download/v2.0.1_hotfix1.patch)
+sha256sums=('2371cceb53453d8a7b36451e6a0ccdb66236924545d6042ddd4c34e9668990c0'
+ '143898de3fe84455684fddb92947d36c1a51c6a6e3884813fe5e025bd4652368')
build() {
cd $srcdir/LuaJIT-$pkgver
[ "$CARCH" = "mips64el" ] && extra="XCFLAGS=-DLUAJIT_DISABLE_JIT"
+ patch -Np1 -i $srcdir//v2.0.1_hotfix1.patch
make amalg PREFIX=/usr $extra
}