summaryrefslogtreecommitdiffstats
path: root/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild
diff options
context:
space:
mode:
author Alexander Verbovetsky <alik@ejik.org>2018-06-01 11:27:00 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-06-02 07:32:36 +0700
commit37aad9d6818f6079c8db19dc162a22f387bf3047 (patch)
treef94f9fbd6c4c5a057dc48f63b26d9c7509ed1762 /office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild
parent8518e4b71a16e569e6211b35536895ed3c694159 (diff)
downloadslackbuilds-37aad9d6818f6079c8db19dc162a22f387bf3047.tar.gz
slackbuilds-37aad9d6818f6079c8db19dc162a22f387bf3047.tar.xz
office/onlyoffice-desktopeditors: Updated for version 5.1.29.350.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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 \