# Template file for 'nyxt'
pkgname=nyxt
version=2.0.0
revision=2
wrksrc=nyxt
build_style=gnu-makefile
make_build_target=all
hostmakedepends="sbcl git"
makedepends="webkit2gtk-devel libfixposix-devel libgirepository-devel"
depends="dbus xclip enchant2 webkit2gtk-devel libfixposix-devel libgirepository-devel"
short_desc="Keyboard-oriented, extensible web-browser"
maintainer="0x0f0f0f <sudo-woodo3@protonmail.com>"
license="BSD-3-Clause"
homepage="https://nyxt.atlas.engineer/"
distfiles="https://nyxt.atlas.engineer/static/release/nyxt-linux-${version}.tar.gz"
checksum=71154bc6ef88f176f3f7783e1c0ecc191b6dcdd996e1c67f2bbc417b651e0355
# Disable check because ASDF/USER::PROVE is not installed
make_check=no
nostrip=yes
nopie=yes
nocross="Cross-compilation fails due to package iolib/syscalls setting incorrect compiler flags"

do_install() {
	make PREFIX=/usr DESTDIR=${DESTDIR} install
	vlicense licenses/ASSET-LICENSE
	vlicense licenses/SOURCE-LICENSE
}

next_package() {
	depends="nyxt"
	short_desc+=" (transitional dummy package)"
	build_style=meta
}
