From 9fdb3f4dd763580a9d261871a1eb1bf3bc670f11 Mon Sep 17 00:00:00 2001 From: David O'Shaughnessy Date: Sun, 24 Apr 2022 18:49:04 +0100 Subject: network/mattermost-desktop: Updated for version 5.0.4. New maintainer. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- network/mattermost-desktop/mattermost-desktop.SlackBuild | 11 ++++++++--- network/mattermost-desktop/mattermost-desktop.info | 14 +++++++------- 2 files changed, 15 insertions(+), 10 deletions(-) (limited to 'network/mattermost-desktop') 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 # Copyright 2018-2020 Dominik Drobek +# # 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" -- cgit v1.2.3