void-packages/srcpkgs/luakit/template

28 lines
861 B
Bash

# Template file for 'luakit'
pkgname=luakit
version=2.1
revision=1
conf_files="/etc/xdg/luakit/*.lua"
hostmakedepends="pkg-config LuaJIT"
makedepends="webkit2gtk-devel luafilesystem LuaJIT-devel"
depends="luafilesystem"
short_desc="Fast, small, webkit based browser framework extensible by Lua"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3.0-or-later"
homepage="http://luakit.org/"
changelog="https://github.com/luakit/luakit/blob/develop/CHANGELOG.md"
distfiles="https://github.com/luakit/luakit/archive/${version}.tar.gz"
checksum=ecbfa23316712f444714387b2ffd846626dab6e40b444d3def4475c145d56f26
case "${XBPS_TARGET_MACHINE}" in
aarch64) broken="LuaJIT-devel marked as unsupported";;
esac
do_build() {
make DEVELOPMENT_PATHS=0 LUA_BIN_NAME=luajit USE_LUAJIT=1 PREFIX=/usr all
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
}