git clone git://anongit.freedesktop.org/libreoffice/core

After git cloning we need to acquire the tools to build it.

perl-archive-zip, gperf, doxygen, graphviz, gts, apache-ant, java-hamcrest, junit

To build, run:

/usr/bin/make

To view some help, run:

/usr/bin/make help

After the build has finished, you can immediately run it using:

instdir/program/soffice

If you want to run the smoketest, run:

/usr/bin/make check