11 lines
320 B
Bash
Executable File
11 lines
320 B
Bash
Executable File
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
|