summaryrefslogtreecommitdiff
path: root/community/luajit
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/luajit
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/luajit')
-rw-r--r--community/luajit/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/luajit/PKGBUILD b/community/luajit/PKGBUILD
new file mode 100644
index 000000000..497e28d5a
--- /dev/null
+++ b/community/luajit/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 92307 2013-06-03 20:18:47Z 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.2
+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=('c05202974a5890e777b181908ac237625b499aece026654d7cc33607e3f46c38')
+
+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
+}