sherpa/INSTALL.sh

16 lines
623 B
Bash
Raw Normal View History

2022-03-07 12:25:48 -05:00
#!/bin/sh
# Sherpa installation script
# This script compiles the Sherpa source files into executable binaries, and moves them into their appropriate locations
echo "Compiling Sherpa..."
2022-03-07 12:32:05 -05:00
gcc -O2 -Wall $(pkg-config --cflags vte-2.91) sherpa.c -o Sherpa $(pkg-config --libs vte-2.91) # Compile main Sherpa binary
2022-03-07 12:25:48 -05:00
echo "CC sherpa.c"
2022-03-07 12:48:39 -05:00
echo "Compiling sherpa-version..."
gcc -O2 -Wall sherpa-version.c # Compile the sherpa version script
echo "CC sherpa-version.c"
cp a.out sherpa-version
mv sherpa /usr/bin
mv sherpa-version /usr/bin
echo "Sherpa was successfully installed."
echo "To update Sherpa, run the UPDATE.sh script."