luakit: rebuild due to old INSTALL script.

This commit is contained in:
Juan RP 2014-10-28 07:26:15 +01:00
parent 4b77122113
commit 02b8c6e96a

View File

@ -3,11 +3,10 @@ pkgname=luakit
_distver=2012.09.13
_patchver=r1
version=${_distver}.${_patchver}
revision=1
revision=2
hostmakedepends="pkg-config help2man git"
makedepends="webkit-gtk-devel lua-devel luafilesystem libunique1-devel sqlite-devel
desktop-file-utils LuaJIT-devel"
depends="luafilesystem"
makedepends="webkit-gtk-devel lua-devel luafilesystem libunique1-devel sqlite-devel LuaJIT-devel"
depends="desktop-file-utils luafilesystem"
conf_files="
/etc/xdg/luakit/webview.lua
/etc/xdg/luakit/binds.lua
@ -24,16 +23,13 @@ homepage="http://mason-larobina.github.com/luakit"
do_fetch() {
git clone -b${_distver}-${_patchver} git://github.com/mason-larobina/luakit.git ${pkgname}-${version}
}
pre_build() {
# use luajit to run script needed at build
sed -i '1s,lua,luajit,' build-utils/gentokens.lua
}
do_build() {
make USE_LUAJIT=1 PREFIX=/usr all
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
chmod -x ${DESTDIR}/usr/share/pixmaps/luakit.png