fix version definition and fixed load paths

This commit is contained in:
Jacob Heider 2023-01-03 17:57:10 -05:00 committed by Jacob Heider
parent 2ff7403742
commit 9f84c51324

View file

@ -22,10 +22,16 @@ build:
# properly locate our package.
patch -p1 <props/ncurses_cmake.diff
echo {{version}} >version
mkdir build
cd build
cmake .. $ARGS
make install
cd {{prefix}}/share/fish
sed -i.bak -e "s| $TEA_PREFIX/| (tea --prefix)/|g" __fish_build_paths.fish
rm __fish_build_paths.fish.bak
env:
ARGS:
- -DCMAKE_BUILD_TYPE=Release