sources/luajit/PKGBUILD
author Anders Bergh <anders1@gmail.com>
Fri, 21 Dec 2007 22:32:34 +0000
changeset 12 faa5eb587542
parent 1 c42d991ddcdb
permissions -rw-r--r--
new versions
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
     1
# Contributor: Anders Bergh <anders1@gmail.com>
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
     2
pkgname=luajit 
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
     3
pkgver=1.1.3
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
     4
pkgrel=5
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
     5
pkgdesc="LuaJIT is a Just-In-Time Compiler for Lua 5.1. LuaJIT is based on Lua, a powerful, light-weight programming language."
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
     6
arch=(i686)
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
     7
url="http://luajit.org/"
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
     8
depends=(readline) 
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
     9
source=(http://luajit.org/download/LuaJIT-$pkgver.tar.gz luajit-arch.patch)
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    10
md5sums=('f5db1a147ed3d34677ad1ef310c56da7'
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    11
         '0e61ba3d7d93c29f40f5a1967228833b')
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    12
license=('custom')
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    13
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    14
build() { 
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    15
  cd "$startdir/src/LuaJIT-$pkgver"
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    16
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    17
  make linux_rl || return 1
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    18
  make INSTALL_TOP=$startdir/pkg/usr install || return 1
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    19
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    20
  install -D -m 644 etc/luajit.pc "$startdir/pkg/usr/lib/pkgconfig/luajit.pc"
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    21
  install -D -m 644 COPYRIGHT "$startdir/pkg/usr/share/licenses/luajit/COPYRIGHT"
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    22
}