Building is straightforward, you will need LaTeX and Git. The following command will create a local copy of the source code for you.
git clone https://github.com/anton-petrunin/puzzles.git
Choose two values of commant \arxiv (first lines in problems.tex) for kdp or arXiv.
Go to the created folder and run pdflatex, biber and makeindex few times:
cd puzzles/
pdflatex problems.tex
makeindex problems
biber problems
pdflatex problems.tex
To get arXiv.tar with all needed files do
tar -cvf arXiv.tar --files-from list-of-files.txt
The following command produces PDF version 1.3 from eps-file
epstopdf --gsopt=-dCompatibilityLevel=1.3 foo.eps
tar -cvf arXiv.tar --files-from list-of-files-open.txt