diff options
Diffstat (limited to 'community/luajit/PKGBUILD')
-rw-r--r-- | community/luajit/PKGBUILD | 29 |
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 +} |