Hi, I'm trying to package ET:XreaL for archlinux, I have already create a pkgbuild* for the stable version but now I'm stuck with the git version because I have not found any istruction for building pk3 files etc.
What I did is:
git clone --recursive git://xreal.git.sourceforge.net/gitroot/xreal/ET-XreaL
premake gmake with-omnibot # I use system premake instead of the precompiled binary in the git repo
make (or make config=release64 for x86_64)
(et pk3 files are provided by a separate package)
now, do I have to build map with ./etxmap_compile for every map files? Is build-snapshot.sh useful for what I want to do?
Please explain me how to do that, step by step.
A good idea, imho, is to put a little howto for building it from git in the git repo.
Thanks in advance.
* a pkgbuild, if you don't know is a text file that uses arch linux for automatically download build and package a software; you can file it here: https://aur.archlinux.org/packages.php?ID=54130
Note: the linked pkgbuild is an example; I have not yet submitted the etxreal-git pkgbuild because is not yet finished obviously.
Ok, maybe after seeing the content of the pk3 files I found what to do (correct me if i'm wrong):
after running "make" I should put in a xreal-core.pk3 zip archive all the files present in the etmain folder except src;
the xreal-mp_bin.pk3 folder contains all compiled binaries: the ui_mp* qagame_mp* cgame_mp* could probably (as for IOquake3 and warsow) be left alone in the root dir without the need of the xreal-mp_bin archive; am I right?
sd_mapobjects.pk3 is already present in the git repo so I don't need to build it;
xreal-map-* are created running etxmap_compile.
Do you really need to put the source code in the xreal-mp_bin.pk3 archive? I don't think it is needed at runtime.
Thank you in advance for your response.