summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Mario Preksavec2021-04-02 13:41:15 +0200
committer Willy Sudiarto Raharjo2021-04-03 03:48:33 +0200
commitcdba76a387eaef564ab1752c2685481644b54827 (patch)
treead49d26f7e337995be1730e1915a9dcbaab5f46d
parentcdbe1db819d5e88efbd83e319cba9ec47868507e (diff)
downloadslackbuilds-cdba76a387eaef564ab1752c2685481644b54827.tar.gz
network/teams: Updated for version 1.4.00.7556
Signed-off-by: Mario Preksavec <mario@slackware.hr> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/teams/teams.SlackBuild15
-rw-r--r--network/teams/teams.info6
2 files changed, 16 insertions, 5 deletions
diff --git a/network/teams/teams.SlackBuild b/network/teams/teams.SlackBuild
index 76e834007d..9a6616383b 100644
--- a/network/teams/teams.SlackBuild
+++ b/network/teams/teams.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for teams
-# Copyright 2020 Mario Preksavec, Zagreb, Croatia
+# Copyright 2020, 2021 Mario Preksavec, Zagreb, Croatia
# 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=teams
-VERSION=${VERSION:-1.3.00.958}
+VERSION=${VERSION:-1.4.00.7556}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,14 +52,25 @@ mkdir -p $TMP $PKG $OUTPUT
cd $PKG
ar p $CWD/${PRGNAM}_${VERSION}_amd64.deb data.tar.xz | tar -xvJ
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+( cd $PKG/usr
+ for i in share/teams/LICENSE* ; do ln -s ../../$i $PKG/usr/doc/$PRGNAM-$VERSION/ ; done
+)
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/teams/teams.info b/network/teams/teams.info
index 7c821d73ff..fdf0ea4ee4 100644
--- a/network/teams/teams.info
+++ b/network/teams/teams.info
@@ -1,10 +1,10 @@
PRGNAM="teams"
-VERSION="1.3.00.958"
+VERSION="1.4.00.7556"
HOMEPAGE="https://teams.microsoft.com/downloads"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://packages.microsoft.com/repos/ms-teams/pool/main/t/teams/teams_1.3.00.958_amd64.deb"
-MD5SUM_x86_64="a99569f085aa19f911a8d69182c312cf"
+DOWNLOAD_x86_64="https://packages.microsoft.com/repos/ms-teams/pool/main/t/teams/teams_1.4.00.7556_amd64.deb"
+MD5SUM_x86_64="3144e00cf533801a3aa48e38d5ec81dc"
REQUIRES=""
MAINTAINER="Mario Preksavec"
EMAIL="mario at slackware dot hr"