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/mattermost-desktop/mattermost-desktop.SlackBuild | |
parent | b7e68999380714bd2d7acad91819eff65be8359b (diff) |
network/mattermost-desktop: Updated for version 4.2.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/mattermost-desktop/mattermost-desktop.SlackBuild')
-rw-r--r-- | network/mattermost-desktop/mattermost-desktop.SlackBuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/network/mattermost-desktop/mattermost-desktop.SlackBuild b/network/mattermost-desktop/mattermost-desktop.SlackBuild index ba4ae5c065377..d18903c8868a0 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 |