summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarav <marav8@free.fr>2022-05-07 04:31:06 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-05-07 13:59:36 +0700
commit0d8a8dcf898a2f9840bdaa641705024d36157d49 (patch)
treea7eb9176e269da6b3fffdbe907fdb385ba02c416
parent0f35cd643b8c23a51d2248fe1b656d44e94847fc (diff)
downloadslackbuilds-0d8a8dcf898a2f9840bdaa641705024d36157d49.tar.gz
network/element-desktop: Updated for version 1.10.11.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/element-desktop/README1
-rw-r--r--network/element-desktop/doinst.sh8
-rw-r--r--network/element-desktop/element-desktop.SlackBuild8
-rw-r--r--network/element-desktop/element-desktop.info6
4 files changed, 17 insertions, 6 deletions
diff --git a/network/element-desktop/README b/network/element-desktop/README
index 08104a1861..5ea2012a55 100644
--- a/network/element-desktop/README
+++ b/network/element-desktop/README
@@ -9,3 +9,4 @@ End-to-end encrypted by default
Element is only available as a 64bit program. 32bit is unsupported.
+
diff --git a/network/element-desktop/doinst.sh b/network/element-desktop/doinst.sh
index 5fb28930db..0fa754f75e 100644
--- a/network/element-desktop/doinst.sh
+++ b/network/element-desktop/doinst.sh
@@ -1,3 +1,11 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+# If other icon themes are installed, then add to/modify this as needed
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
diff --git a/network/element-desktop/element-desktop.SlackBuild b/network/element-desktop/element-desktop.SlackBuild
index 66b0f455cb..eb948ef91b 100644
--- a/network/element-desktop/element-desktop.SlackBuild
+++ b/network/element-desktop/element-desktop.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=element-desktop
-VERSION=${VERSION:-1.10.10}
+VERSION=${VERSION:-1.10.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,8 +81,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $PKG/opt/Element/LICENSE* \
- $PKG/usr/doc/$PRGNAM-$VERSION/
+cp -a \
+ $PKG/usr/share/doc/$PRGNAM/* $PKG/opt/Element/LICENSE* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share/doc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/network/element-desktop/element-desktop.info b/network/element-desktop/element-desktop.info
index d1cde94af5..71d64a6404 100644
--- a/network/element-desktop/element-desktop.info
+++ b/network/element-desktop/element-desktop.info
@@ -1,10 +1,10 @@
PRGNAM="element-desktop"
-VERSION="1.10.10"
+VERSION="1.10.11"
HOMEPAGE="https://element.io/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://packages.element.io/debian/pool/main/e/element-desktop/element-desktop_1.10.10_amd64.deb"
-MD5SUM_x86_64="23f8f1555eb5ab8c1b718834aa1c3c85"
+DOWNLOAD_x86_64="https://packages.element.io/debian/pool/main/e/element-desktop/element-desktop_1.10.11_amd64.deb"
+MD5SUM_x86_64="70db04d7822ed50196fadd9c800d988c"
REQUIRES=""
MAINTAINER="marav"
EMAIL="marav8@free.fr"