diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..49ebf4c --- /dev/null +++ b/build.sh @@ -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