[COPY] --- T2-COPYRIGHT-BEGIN --- [COPY] t2/package/*/oh-my-posh/oh-my-posh.desc [COPY] Copyright (C) 2023 - 2025 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 [S] Stable [V] 26.13.0 . $base/package/*/*/go-conf.in [D] e4988498b5113fd08986b3dc099b9ec50a1d8b5f044079f1e1057edb oh-my-posh-26.13.0.tar.gz https://github.com/JanDeDobbeleer/oh-my-posh/archive/refs/tags/v26.13.0/ 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'