summaryrefslogtreecommitdiff
path: root/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild')
-rw-r--r--office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild17
1 files changed, 7 insertions, 10 deletions
diff --git a/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild b/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild
index e9e4a1bf25..222fda62b4 100644
--- a/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild
+++ b/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=onlyoffice-desktopeditors
-VERSION=${VERSION:-4.8.7.392}
+VERSION=${VERSION:-5.1.29.350}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -48,14 +48,14 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
rm -rf $PKG
-mkdir -p $TMP $PKG/opt/onlyoffice $OUTPUT
-cd $TMP
-tar xvf $CWD/onlyoffice-desktopeditors-x64.tar.gz \
- -C $PKG/opt/onlyoffice
+mkdir -p $TMP $PKG $OUTPUT
cd $PKG
+ar p $CWD/onlyoffice-desktopeditors_amd64.deb data.tar.xz | tar xvJ
-mkdir -p usr/bin
-install -m 0755 -o root -g root $CWD/desktopeditors usr/bin
+rm -f usr/bin/onlyoffice-desktopeditors
+
+cp -L /usr/lib64/libcurl.so.4 \
+ opt/onlyoffice/desktopeditors/converter/libcurl-gnutls.so.4
for s in 16 24 32 48 64 128 256; do
mkdir -p usr/share/icons/hicolor/${s}x${s}/apps
@@ -63,9 +63,6 @@ for s in 16 24 32 48 64 128 256; do
usr/share/icons/hicolor/${s}x${s}/apps/asc-de.png
done
-mkdir -p usr/share/applications
-install -m 0644 -o root -g root $CWD/desktopeditors.desktop usr/share/applications
-
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \