[COPY] --- T2-COPYRIGHT-BEGIN --- [COPY] t2/package/*/oh-my-posh/oh-my-posh.desc [COPY] Copyright (C) 2023 - 2026 The T2 SDE Project [COPY] SPDX-License-Identifier: GPL-2.0 [COPY] --- T2-COPYRIGHT-END --- [I] Shell prompt theme engine [T] Oh-my-posh is a blazing fast cross platform/shell prompt theme engine. [U] https://ohmyposh.dev/ [A] Jan De Dobbeleer [M] NoTag [C] extra/shell [F] CROSS NO-LTO [L] MIT [V] 31.2.1 [D] 768e6249b88bd5bbe5ee2d197f479ca5aea37b8fb73b4ead0780b31e oh-my-posh-31.2.1.tar.gz https://github.com/JanDeDobbeleer/oh-my-posh/archive/refs/tags/v31.2.1/ . $base/package/*/*/go-conf.in export CGO_ENABLED=1 var_append goconfopt ' ' "-o $pkg" var_remove GCC_WRAPPER_REMOVE ' ' '-gdwarf*' omp_conf() { cd src sed -i "s/= \"development\"/= \"${ver}\"/g" main.go } hook_add preconf 5 omp_conf omp_install() { mkdir -pv $root$datadir/$pkg cp -v $pkg $root$bindir/ cp -rv ../themes $root$datadir/$pkg/ } hook_add postmake 5 omp_install