1 # Maintainer: J. W. Birdsong <jwbirdsong AT gmail DOT com>
6 pkgdesc="A fast, small, webkit-gtk based browser extensible by Lua"
8 url="http://www.luakit.org/projects/luakit"
10 depends=('libwebkit' 'luafilesystem' 'libunique')
11 makedepends=('git' 'lua' 'help2man')
12 optdepends=('luajit2: Needed if use the luajit option in make')
13 source=($pkgname.install)
15 conflicts=('luakit' 'luakit-develop-git')
16 install=$pkgname.install
18 _gitroot="git://github.com/mason-larobina/luakit.git"
21 md5sums=('184069a7264115726f73204d1d708e2c')
25 msg "Connecting to GIT server...."
27 if [ -d $_gitname ] ; then
28 cd $_gitname && git pull origin
29 msg "The local files are updated."
31 git clone $_gitroot $_gitname
34 msg "GIT checkout done or server timeout"
35 msg "Starting make..."
37 blddir="${srcdir}/$_gitname-build"
39 git clone "$srcdir/$_gitname" ${blddir}
41 makeopts="PREFIX=/usr DESTDIR="${pkgdir}" DEVELOPMENT_PATHS=0 "
42 # if you want to use luajit2, comment the above line and uncomment the following
43 # makeopts="PREFIX=/usr DESTDIR="${pkgdir}" DEVELOPMENT_PATHS=0 USE_LUAJIT=1"
45 make ${makeopts} install
49 # vim:set ts=2 sw=2 et: