# Copyright 2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 ZIG_SLOT=0.17 inherit zig DESCRIPTION="HTML language server" HOMEPAGE="https://github.com/kristoff-it/superhtml" if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/kristoff-it/superhtml" KEYWORDS="" else SRC_URI=" https://github.com/kristoff-it/superhtml/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz ${ZBS_DEPENDENCIES_SRC_URI} " KEYWORDS="~amd64" fi LICENSE="MIT" SLOT="0" DOCS=( README.md ) if [[ ${PV} == 9999 ]]; then src_unpack() { git-r3_src_unpack zig_live_src_unpack } fi src_configure() { local my_zbs_args=( -Dtracy=false -Dversion=${PV} ) zig_src_configure }