Dear Christian,
I recommend this style for now as the default binary package for GNU/Linux operating systems. It would also work well for BSD-derived operating systems. You probably weren't asking about Android, but since that also uses Linux, I note that I don't know whether this is how one installs software on Android.
I propose three alternative routines for preparing the package.
1. We can use the previously linked (and now attached) "build" file at the end of the build process. It relies on the basex zip package and on some Unix-style utilities. I am happy to be the one to run it. 2. I can assist a BaseX developer in rewriting my packaging utility with maven and Java in a way that will run on Windows. It would still be run at the end of the build process, after the zip file. 3. If someone documents how to build BaseX with command-line utilities, that is, without Eclipse, I will look into packaging the whole build process for Unix-like operating systems.
Option three is best. It is best because only this option produces a source package that can be built on Unix-like operating systems in a conventional way.
Options one and two are still good because they at least produce a convenient binary package.
Please receive my sincere salutations. Kralj Karlo