54 lines
2.2 KiB
Text
54 lines
2.2 KiB
Text
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
pkgname=onlyoffice-document-server
|
|
pkgver=7.3.3
|
|
_buildno=50
|
|
pkgrel=0
|
|
pkgdesc="ONLYOFFICE Docs is a free collaborative online office suite"
|
|
url="https://github.com/ONLYOFFICE/DocumentServer"
|
|
arch="x86_64"
|
|
license="AGPL-3.0"
|
|
makedepends="make g++ nodejs npm autoconf automake openjdk20-jdk"
|
|
source="
|
|
$pkgname-$pkgver.tar.gz::https://lab.ilot.io/mirrors/onlyoffice-document-server/-/releases/v$pkgver/downloads/tarball/onlyoffice-document-server-v$pkgver.tar.gz
|
|
$pkgname-build_tools-$pkgver.$_buildno.tar.gz::https://github.com/ONLYOFFICE/build_tools/archive/refs/tags/v$pkgver.$_buildno.tar.gz
|
|
server_fix-makefile.patch
|
|
server_restore-mobile-editing.patch
|
|
web-apps_restore-mobile-editing.patch
|
|
"
|
|
builddir="$srcdir"/$pkgname-v$pkgver
|
|
|
|
prepare() {
|
|
default_prepare
|
|
npm install -g --prefix "$srcdir"/npm_cache pkg grunt grunt-cli gifsicle
|
|
ln -s ../build_tools-$pkgver.$_buildno build_tools
|
|
}
|
|
|
|
build() {
|
|
export PATH="$PATH:$srcdir/npm_cache/bin"
|
|
msg "Building 3rdparty"
|
|
cd "$builddir"/core/Common/3dParty
|
|
./make.sh
|
|
msg "Building sdkjs"
|
|
cd "$builddir"/sdkjs
|
|
msg "Building server"
|
|
cd "$builddir"/server
|
|
make
|
|
}
|
|
|
|
rootpkg() {
|
|
export PATH="$PATH:$srcdir/npm_cache/bin"
|
|
cd "$builddir"/server
|
|
make install DESTDIR="$pkgdir"
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
|
e4601334830932515e4ba165eeeab935059d80523fcb4888da0b88b5fe6b3a2feff1f9c60166f4dbbaceabe546fe075f253b302eb0a7510c3b7762a06ab38755 onlyoffice-document-server-7.3.3.tar.gz
|
|
176b9a7649fc1d4f2e633de706d019ddb09011bf2baebce18d2b9aa5a523c69240eb6efaed32d665fc47a09b2e8931f0163a9aafc30dc3390e0a6c479b6dda73 onlyoffice-document-server-build_tools-7.3.3.50.tar.gz
|
|
dce838e901720cf18ccc8035e02b9f8fea0f38a448124321663612027058467de152bfc9c257a3bd14a0ab33a00962f604e1d6c5a7040d7f1b117d260e286839 server_fix-makefile.patch
|
|
7c70d7392040ed415da0cdce91c71926624c20a36f850ba9affaff3353368830cc172c243cebc608d72051627c7e44de232818c93453b8c7e58314f05e450b2d server_restore-mobile-editing.patch
|
|
5d5758b59c2e8e2b6a31d99efb7e3ad42c60ab035af3641be5f3d84f02a1ea5abf51a380cfc55e403569ebdf3620a9c67c81b8bd0ba4632fc0b5f0506e9cf57e web-apps_restore-mobile-editing.patch
|
|
"
|