Create script for building without Docker

This commit is contained in:
2023-01-16 23:15:33 -05:00
parent ecd57bd967
commit 219fcf4719
Executable
+10
View File
@@ -0,0 +1,10 @@
PVPGN_VERSION=1.99.7.2.1
mkdir build
cd build
wget https://github.com/pvpgn/pvpgn-server/archive/refs/tags/$PVPGN_VERSION.tar.gz .
tar xvf $PVPGN_VERSION.tar.gz
cd pvpgn-server-$PVPGN_VERSION
cmake -D CMAKE_INSTALL_PREFIX=/usr/local/pvpgn -Bbuild
make -Cbuild -j$(grep -c ^processor /proc/cpuinfo)
make -Cbuild install