mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-util/ols: add 2026.03
Signed-off-by: Saveliy Boyarchuk <sav.boyar@gmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST ols-2026-01.tar.gz 1287243 BLAKE2B 84169a34638f2f26fb352ecbfc8703c71305abf8b454a243f35184157dae8679b4f86ba00352547a955b30e9f1d07d6be7f6c45bf342c94a1a2ddfd21340146a SHA512 3a394652fc94562a316e67c1192219d6da002c06cbb74e161ec1de27eb8de21fb5b25aba862c5276739adb43239e92733c42fd53457ef7bd0135245ee7a006bb
|
||||
DIST ols-2026-03.tar.gz 1301200 BLAKE2B c29a90f75b2edea83749cdc9e989609e0451879fe024747c5a416cbf08ce68533b9ed71ef5002ab976c6e9249c7ac40cdaa03d09b57c1a4dba58ef8daf288440 SHA512 6467c973acac63146db597ca9f6233181aedb95061581680e40fd87dd656ed639e2a574bde78ff6b2f66f1ead6c8c2d0d929f129e55631c7f0c881a08fa9f1ae
|
||||
|
||||
50
dev-util/ols/ols-2026.03.ebuild
Normal file
50
dev-util/ols/ols-2026.03.ebuild
Normal file
@@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit edo
|
||||
|
||||
DESCRIPTION="Language server for Odin Programming language"
|
||||
HOMEPAGE="https://github.com/DanielGavin/ols"
|
||||
|
||||
MY_PV="${PV/./-}"
|
||||
SRC_URI="https://github.com/DanielGavin/ols/archive/refs/tags/dev-${MY_PV}.tar.gz -> ${PN}-${MY_PV}.tar.gz"
|
||||
S="${WORKDIR}/ols-dev-${MY_PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="odinfmt"
|
||||
|
||||
# Tracks the same version of Odin compiler
|
||||
RDEPEND="
|
||||
~dev-lang/odin-${PV}
|
||||
"
|
||||
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
# Replace version string for static ebuild
|
||||
src_prepare() {
|
||||
default_src_prepare
|
||||
sed -i "s/\(VERSION=\).*/\1dev-${MY_PV}/" "${S}/build.sh" || die
|
||||
}
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user