mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
dev-util/ols: new package, add 2026.01, 9999
Signed-off-by: Saveliy Boyarchuk <sav.boyar@gmail.com>
This commit is contained in:
51
dev-util/ols/ols-9999.ebuild
Normal file
51
dev-util/ols/ols-9999.ebuild
Normal file
@@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit edo git-r3
|
||||
|
||||
DESCRIPTION="Language server for Odin Programming language"
|
||||
HOMEPAGE="https://github.com/DanielGavin/ols"
|
||||
|
||||
EGIT_REPO_URI="${HOMEPAGE}.git"
|
||||
|
||||
#SRC_URI="${HOMEPAGE}/archive/refs/tags/dev-2026-01.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
#S="${WORKDIR}/ols-dev-2026-01"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
#KEYWORDS="~amd64"
|
||||
IUSE="odinfmt"
|
||||
|
||||
# Needs head of odin compiler
|
||||
RDEPEND="
|
||||
~dev-lang/odin-9999
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# No need to configure
|
||||
src_configure() {
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
edo "${S}/build.sh"
|
||||
if use odinfmt; then
|
||||
edo "${S}/odinfmt.sh"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${S}/ols"
|
||||
if use odinfmt; then
|
||||
dobin "${S}/odinfmt"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "For more info on configuration, see ${HOMEPAGE}#configuration"
|
||||
}
|
||||
Reference in New Issue
Block a user