diff options
author | Dominik Drobek <dominik.drobek@o2.pl> | 2019-03-28 00:37:06 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-03-28 06:44:50 +0700 |
commit | 630f550125ee6796f25b104fc5659b8b82ee2245 (patch) | |
tree | dfec6f967a206f4021cf756f03a384194b860749 /network | |
parent | b7e68999380714bd2d7acad91819eff65be8359b (diff) | |
download | slackbuilds-630f550125ee6796f25b104fc5659b8b82ee2245.tar.gz |
network/mattermost-desktop: Updated for version 4.2.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/mattermost-desktop/mattermost-desktop.SlackBuild | 12 | ||||
-rw-r--r-- | network/mattermost-desktop/mattermost-desktop.info | 10 |
2 files changed, 10 insertions, 12 deletions
diff --git a/network/mattermost-desktop/mattermost-desktop.SlackBuild b/network/mattermost-desktop/mattermost-desktop.SlackBuild index ba4ae5c065..d18903c886 100644 --- a/network/mattermost-desktop/mattermost-desktop.SlackBuild +++ b/network/mattermost-desktop/mattermost-desktop.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for mattermost-desktop -# Copyright 2018 Dominik Drobek <dominik.drobek (at) o2.pl> +# Copyright 2018, 2019 Dominik Drobek <dominik.drobek (at) o2.pl> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mattermost-desktop -VERSION=${VERSION:-4.1.2} +VERSION=${VERSION:-4.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -42,11 +42,9 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "x86_64" ]; then SRCARCH="x64" - DIRSUFFIX="" PKGARCH="$ARCH" elif [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then SRCARCH="ia32" - DIRSUFFIX="-ia32" PKGARCH="i586" else echo "$ARCH is not supported for $PRGNAM" @@ -58,9 +56,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION$DIRSUFFIX +rm -rf $PRGNAM-$VERSION-linux-$SRCARCH tar xvf $CWD/$PRGNAM-$VERSION-linux-$SRCARCH.tar.gz -cd $PRGNAM-$VERSION$DIRSUFFIX +cd $PRGNAM-$VERSION-linux-$SRCARCH chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -73,7 +71,7 @@ cp -a locales/ resources/ *.bin *.dat *.pak *.so $PRGNAM $PKG/opt/$PRGNAM mkdir -p $PKG/usr/share/{applications,pixmaps} install -m 644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications -install -m 644 icon.png $PKG/usr/share/pixmaps/$PRGNAM.png +install -m 644 icon.svg $PKG/usr/share/pixmaps/$PRGNAM.svg mkdir -p $PKG/usr/bin ln -sf ../../opt/$PRGNAM/$PRGNAM $PKG/usr/bin/$PRGNAM diff --git a/network/mattermost-desktop/mattermost-desktop.info b/network/mattermost-desktop/mattermost-desktop.info index 825fad9856..21e55eff02 100644 --- a/network/mattermost-desktop/mattermost-desktop.info +++ b/network/mattermost-desktop/mattermost-desktop.info @@ -1,10 +1,10 @@ PRGNAM="mattermost-desktop" -VERSION="4.1.2" +VERSION="4.2.1" HOMEPAGE="https://mattermost.com" -DOWNLOAD="https://releases.mattermost.com/desktop/4.1.2/mattermost-desktop-4.1.2-linux-ia32.tar.gz" -MD5SUM="348077c9ead623fc5f244732743bbb16" -DOWNLOAD_x86_64="https://releases.mattermost.com/desktop/4.1.2/mattermost-desktop-4.1.2-linux-x64.tar.gz" -MD5SUM_x86_64="830973e0170f1bb164e596017a108263" +DOWNLOAD="https://releases.mattermost.com/desktop/4.2.1/mattermost-desktop-4.2.1-linux-ia32.tar.gz" +MD5SUM="91b64b3e090f462bdfa59301f8128db7" +DOWNLOAD_x86_64="https://releases.mattermost.com/desktop/4.2.1/mattermost-desktop-4.2.1-linux-x64.tar.gz" +MD5SUM_x86_64="5b385f9c7debc156b5c73217a3b54fad" REQUIRES="" MAINTAINER="Dominik Drobek" EMAIL="dominik.drobek (at) o2.pl" |