summaryrefslogtreecommitdiff
path: root/community/luajit
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/luajit
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/luajit')
-rw-r--r--community/luajit/PKGBUILD13
1 files changed, 6 insertions, 7 deletions
diff --git a/community/luajit/PKGBUILD b/community/luajit/PKGBUILD
index 497e28d5a..a073f48fb 100644
--- a/community/luajit/PKGBUILD
+++ b/community/luajit/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 92307 2013-06-03 20:18:47Z bpiotrowski $
+# $Id: PKGBUILD 102287 2013-12-07 10:57:57Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Chris Brannon <chris@the-brannons.com>
# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
@@ -6,7 +6,7 @@
pkgname=luajit
pkgver=2.0.2
-pkgrel=1
+pkgrel=2
pkgdesc='Just-in-time compiler and drop-in replacement for Lua 5.1'
arch=('i686' 'x86_64')
url='http://luajit.org/'
@@ -16,14 +16,13 @@ source=(http://luajit.org/download/LuaJIT-${pkgver/rc/-rc}.tar.gz)
sha256sums=('c05202974a5890e777b181908ac237625b499aece026654d7cc33607e3f46c38')
build() {
- cd $srcdir/LuaJIT-$pkgver
+ cd LuaJIT-$pkgver
make amalg PREFIX=/usr
}
package() {
- cd $srcdir/LuaJIT-$pkgver
- make install DESTDIR=$pkgdir PREFIX=/usr
+ cd LuaJIT-$pkgver
+ make install DESTDIR="$pkgdir" PREFIX=/usr
- install -Dm644 $srcdir/LuaJIT-$pkgver/COPYRIGHT \
- $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT
+ install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYRIGHT
}