1 # Maintainer: Jonny Gerold <jonny@fsk141.com>
2 # Contributor: J. W. Birdsong <jwbirdsong AT gmail DOT com>
4 pkgname=luakit-inspector-rewrite-git
7 pkgdesc="A fast, small, webkit-gtk based browser extensible by Lua -- inspector rewrite branch"
9 url="http://www.luakit.org/projects/luakit"
11 depends=('libwebkit' 'luafilesystem' 'libunique')
12 makedepends=('git' 'lua' 'help2man')
13 optdepends=('luajit2: Needed if use the luajit option in make')
14 source=($pkgname.install)
16 conflicts=('luakit' 'luakit-develop-git' 'luakit-git')
17 install=$pkgname.install
19 md5sums=('90b1959aedd60c11cb79b926615a3553')
21 _gitroot="https://github.com/karottenreibe/luakit.git"
22 _gitname="inspector-rewrite"
26 msg "Connecting to GIT server...."
28 if [ -d $_gitname ] ; then
29 cd $_gitname && git pull origin
30 msg "The local files are updated."
32 git clone $_gitroot $_gitname
34 msg "Switching to inspector-rewrite branch"
35 git checkout -b remotes/origin/inspector-rewrite
36 git pull origin inspector-rewrite
39 msg "GIT checkout done or server timeout"
40 msg "Starting make..."
42 makeopts="PREFIX=/usr DESTDIR="${pkgdir}" DEVELOPMENT_PATHS=0 "
43 # if you want to use luajit2, comment the above line and uncomment the following
44 # makeopts="PREFIX=/usr DESTDIR="${pkgdir}" DEVELOPMENT_PATHS=0 USE_LUAJIT=1"
46 make ${makeopts} install