Fix build

This commit is contained in:
build@apk-groulx 2023-09-05 23:22:15 +00:00
parent 5a1894d553
commit 4210ec4a39

View file

@ -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() {