1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/oh-my-posh/oh-my-posh.conf
3 # Copyright (C) 2023 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
14 var_append goconfopt ' ' "-o $pkg"
15 var_remove GCC_WRAPPER_REMOVE ' ' '-gdwarf*'
19 sed -i "s/= \"development\"/= \"${ver}\"/g" main.go
21 hook_add preconf 5 'omp_conf'
24 mkdir -pv $root$datadir/$pkg
25 cp -v $pkg $root$bindir/
26 cp -rv ../themes $root$datadir/$pkg/
28 hook_add postmake 5 'omp_install'