summaryrefslogtreecommitdiff
path: root/network/mattermost-desktop
diff options
context:
space:
mode:
authorDavid O'Shaughnessy <dev@osh.id.au>2022-04-24 18:49:04 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-30 13:51:47 +0700
commit9fdb3f4dd763580a9d261871a1eb1bf3bc670f11 (patch)
tree1e28d94c1758d0548c4635fb1c5555000b34d6d2 /network/mattermost-desktop
parent1266a75930c4d0f9b6877a5338001371c5ad6fa3 (diff)
downloadslackbuilds-9fdb3f4dd763580a9d261871a1eb1bf3bc670f11.tar.gz
network/mattermost-desktop: Updated for version 5.0.4.
New maintainer. Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/mattermost-desktop')
-rw-r--r--network/mattermost-desktop/mattermost-desktop.SlackBuild11
-rw-r--r--network/mattermost-desktop/mattermost-desktop.info14
2 files changed, 15 insertions, 10 deletions
diff --git a/network/mattermost-desktop/mattermost-desktop.SlackBuild b/network/mattermost-desktop/mattermost-desktop.SlackBuild
index 5be45164ad..5c65974e88 100644
--- a/network/mattermost-desktop/mattermost-desktop.SlackBuild
+++ b/network/mattermost-desktop/mattermost-desktop.SlackBuild
@@ -2,7 +2,9 @@
# Slackware build script for mattermost-desktop
+# Copyright 2022 David O'Shaughnessy <dev@osh.id.au>
# Copyright 2018-2020 Dominik Drobek <dominik.drobek (at) o2.pl>
+#
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mattermost-desktop
-VERSION=${VERSION:-4.6.1}
+VERSION=${VERSION:-5.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -77,13 +79,13 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/opt/$PRGNAM
-cp -a locales/ resources/ swiftshader/ *.bin *.dat *.pak *.so chrome-sandbox $PRGNAM $PKG/opt/$PRGNAM
+cp -a $TMP/$PRGNAM-$VERSION-linux-$SRCARCH/* $PKG/opt/$PRGNAM
mkdir -p $PKG/usr/bin
ln -sf ../../opt/$PRGNAM/$PRGNAM $PKG/usr/bin/$PRGNAM
install -D -m 644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
-install -D -m 644 icon.svg $PKG/usr/share/icons/hicolor/scalable/apps/$PRGNAM.svg
+install -D -m 644 app_icon.png $PKG/usr/share/icons/hicolor/scalable/apps/$PRGNAM.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
@@ -91,6 +93,9 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+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
+
# fix 755 permissions on resource files and documentation:
find -L $PKG/opt/$PRGNAM \
\( -name "*.asar" -o -name "*.bin" -o -name "*.dat" -o -name "*.pak" \) \
diff --git a/network/mattermost-desktop/mattermost-desktop.info b/network/mattermost-desktop/mattermost-desktop.info
index c22f9dac1c..ce1863825d 100644
--- a/network/mattermost-desktop/mattermost-desktop.info
+++ b/network/mattermost-desktop/mattermost-desktop.info
@@ -1,10 +1,10 @@
PRGNAM="mattermost-desktop"
-VERSION="4.6.1"
+VERSION="5.0.4"
HOMEPAGE="https://mattermost.com"
-DOWNLOAD="https://releases.mattermost.com/desktop/4.6.1/mattermost-desktop-4.6.1-linux-ia32.tar.gz"
-MD5SUM="5f6541178b31eb4eb337e0d60ece1072"
-DOWNLOAD_x86_64="https://releases.mattermost.com/desktop/4.6.1/mattermost-desktop-4.6.1-linux-x64.tar.gz"
-MD5SUM_x86_64="48b6cae957745ee92ab5d90b6c21c12c"
+DOWNLOAD="https://releases.mattermost.com/desktop/5.0.4/mattermost-desktop-5.0.4-linux-ia32.tar.gz"
+MD5SUM="fed958cee11c0ed9d56845c4305fa5ab"
+DOWNLOAD_x86_64="https://releases.mattermost.com/desktop/5.0.4/mattermost-desktop-5.0.4-linux-x64.tar.gz"
+MD5SUM_x86_64="a4334538a5476cecb9e4eb308fc715a6"
REQUIRES=""
-MAINTAINER="Dominik Drobek"
-EMAIL="dominik.drobek (at) o2.pl"
+MAINTAINER="David O'Shaughnessy"
+EMAIL="dev@osh.id.au"