Fix build
This commit is contained in:
parent
5a1894d553
commit
4210ec4a39
1 changed files with 15 additions and 8 deletions
|
@ -10,7 +10,10 @@ url="https://github.com/ONLYOFFICE/DocumentServer"
|
||||||
arch="x86_64"
|
arch="x86_64"
|
||||||
license="AGPL-3.0"
|
license="AGPL-3.0"
|
||||||
makedepends="
|
makedepends="
|
||||||
make g++
|
make
|
||||||
|
|
||||||
|
bash
|
||||||
|
g++
|
||||||
nodejs
|
nodejs
|
||||||
npm
|
npm
|
||||||
autoconf
|
autoconf
|
||||||
|
@ -59,23 +62,27 @@ build() {
|
||||||
msg "Building 3rdparty"
|
msg "Building 3rdparty"
|
||||||
cd "$builddir"/core/Common/3dParty
|
cd "$builddir"/core/Common/3dParty
|
||||||
./make.sh
|
./make.sh
|
||||||
msg "Building server"
|
|
||||||
cd "$builddir"/server
|
|
||||||
make
|
|
||||||
msg "Building webapps"
|
msg "Building webapps"
|
||||||
cd "$builddir"/web-apps
|
cd "$builddir"/web-apps/build
|
||||||
npm install
|
npm install
|
||||||
grunt
|
grunt
|
||||||
msg "Building sdkjs"
|
msg "Building sdkjs"
|
||||||
cd "$builddir"/sdkjs
|
cd "$builddir"/sdkjs
|
||||||
make
|
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
|
pkg "$builddir"/build_tools/out/linux_64/onlyoffice/documentserver/server/FileConverter -o "$builddir"/converter
|
||||||
mv "$builddir"/converter $builddir/server/FileConvertor/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
|
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() {
|
package() {
|
||||||
|
|
Loading…
Reference in a new issue