dev-util/superhtml - 9999 (robertgzr)

Search

Install

Install this version:

emerge -a =dev-util/superhtml-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-util/superhtml-9999

Or alternatively:

emerge --autounmask-write -a =dev-util/superhtml-9999

Package Information

Description:
HTML language server
Homepage:
https://github.com/kristoff-it/superhtml
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 0
View Raw Ebuild
# 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
}

Inherited Eclasses

zig