diff --git a/user/onlyoffice-document-server/APKBUILD b/user/onlyoffice-document-server/APKBUILD index c9e97bf..0063524 100644 --- a/user/onlyoffice-document-server/APKBUILD +++ b/user/onlyoffice-document-server/APKBUILD @@ -10,7 +10,10 @@ url="https://github.com/ONLYOFFICE/DocumentServer" arch="x86_64" license="AGPL-3.0" makedepends=" - make g++ + make + + bash + g++ nodejs npm autoconf @@ -59,23 +62,27 @@ build() { msg "Building 3rdparty" cd "$builddir"/core/Common/3dParty ./make.sh - msg "Building server" - cd "$builddir"/server - make msg "Building webapps" - cd "$builddir"/web-apps + cd "$builddir"/web-apps/build npm install grunt msg "Building sdkjs" cd "$builddir"/sdkjs make + msg "Building server" + cd "$builddir"/server + make - msg "Building converter" + msg "Generating converter binary" pkg "$builddir"/build_tools/out/linux_64/onlyoffice/documentserver/server/FileConverter -o "$builddir"/converter mv "$builddir"/converter $builddir/server/FileConvertor/converter - msg "Building docservice" + msg "Generating docservice binary" pkg "$builddir"/build_tools/out/linux_64/onlyoffice/documentserver/server/DocService --options max_old_space_size=4096 -o $builddir/docservice - mv "$builddir"/docservice $builddir/server/FileConvertor/docservice + mv "$builddir"/docservice $builddir/server/DocService/docservice + msg "Generating spellchecker binary" + pkg "$builddir"/build_tools/out/linux_64/onlyoffice/documentserver/server/SpellChecker -o $builddir/spellchecker + mv "$builddir"/spellchecker $builddir/server/SpellChecker/spellchecker + } package() {