fix: install-neo

main
Rob Muhlestein 11 months ago
parent a5daa19d96
commit f315c2e2b8

@ -1,8 +1,18 @@
#!/bin/sh
echo <<EOM
clone st3w/neo
sudo apt install autoconf
sudo apt install build-essentials
sudo apt install ncurses-base
sudo apt-get install libncurses5-dev
[ -z "$(command -v gh)" ] && echo "gh required" && exit
[ -z "$(command -v make)" ] && echo "make required (build-essentials)" && exit
[ -z "$(command -v autoconf)" ] && echo "autoconf required" && exit
dir="$REPOS/github.com/st3w/neo"
mkdir -p "$(basename "$dir")"
if [ ! -d "$dir" ]; then
gh repo clone st3w/neo "$dir"
fi
cd "$dir"
./autogen.sh
./configure
make
sudo make install
EOM

Loading…
Cancel
Save