aboutsummaryrefslogtreecommitdiff
path: root/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild
diff options
context:
space:
mode:
authorAntonio Leal <antonio.leal@yahoo.com>2024-10-26 13:21:51 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-10-27 09:30:58 +0700
commitd01ff2a7b02d6c95db201ec449ac734966ce6f7c (patch)
treec3ef37b0da734d46bafd3571ed62a76da489bdfc /office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild
parentf278802321fb057965719f03611102d800dff2f3 (diff)
office/onlyoffice-desktopeditors: Updated for version 8.2.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild')
-rw-r--r--office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild23
1 files changed, 9 insertions, 14 deletions
diff --git a/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild b/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild
index 5cd51e5b41..08f2d08321 100644
--- a/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild
+++ b/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild
@@ -26,8 +26,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=onlyoffice-desktopeditors
-VERSION=${VERSION:-8.1.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-8.2.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -61,13 +61,6 @@ cd $PKG
ar p $CWD/onlyoffice-desktopeditors_amd64.deb data.tar.xz | tar xvJ
ar p $CWD/onlyoffice-desktopeditors-help_all.deb data.tar.xz | tar xvJ
-for s in 16 24 32 48 64 128 256; do
- mkdir -p usr/share/icons/hicolor/${s}x${s}/apps
- install -m 0644 -o root -g root \
- opt/onlyoffice/desktopeditors/asc-de-${s}.png \
- usr/share/icons/hicolor/${s}x${s}/apps/onlyoffice-desktopeditors.png
-done
-
find -L opt/onlyoffice/desktopeditors -type f \
\( -name "lib*.so" -o -name "lib*.so.*" -o -name "chrome-sandbox" \) \
-exec chmod 755 {} \;
@@ -82,11 +75,13 @@ find -L . \
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p usr/doc/$PRGNAM-$VERSION
-install -m 0644 opt/onlyoffice/desktopeditors/LICENSE.htm \
- opt/onlyoffice/desktopeditors/3DPARTYLICENSE usr/doc/$PRGNAM-$VERSION
-rm -f usr/share/doc/onlyoffice-desktopeditors*/changelog.Debian.gz
-rmdir usr/share/doc/onlyoffice-desktopeditors* usr/share/doc
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+
+rm -f $PKG/usr/share/doc/onlyoffice-desktopeditors/changelog.Debian.gz
+mv $PKG/usr/share/doc/onlyoffice-desktopeditors/* $PKG/usr/doc/$PRGNAM-$VERSION/
+rm -rf $PKG/usr/share/doc
+mv $PKG/usr/share/licenses/onlyoffice-desktopeditors/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share/licenses
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p install