# Template file for 'luakit'
pkgname=luakit
version=2017.08.10
revision=1
nocross=yes
hostmakedepends="pkg-config"
makedepends="webkit2gtk-devel luafilesystem LuaJIT-devel"
depends="luafilesystem"
conf_files="/etc/xdg/luakit/*.lua"
short_desc="Fast, small, webkit based browser framework extensible by Lua"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://luakit.org/"
distfiles="https://github.com/luakit/luakit/archive/${version}.tar.gz"
checksum=23d98b6b51b66c85b6823cd287e161e1093b80639f06f1da9b0a7290b0859d37

do_build() {
	make DEVELOPMENT_PATHS=0 USE_LUAJIT=1 PREFIX=/usr all
}
do_install() {
	make PREFIX=/usr DESTDIR=${DESTDIR} install
}
