summaryrefslogtreecommitdiff
path: root/community/luajit
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/luajit
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 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
+}