void-packages/srcpkgs/luakit/template
Jürgen Buchmüller afdfa90cd2 luakit: needs -fcommon for gcc10
[ci skip]
2020-08-28 18:25:36 +02:00

30 lines
942 B
Bash

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