diff options
Diffstat (limited to 'network/teamviewer/teamviewer.SlackBuild')
-rw-r--r-- | network/teamviewer/teamviewer.SlackBuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/network/teamviewer/teamviewer.SlackBuild b/network/teamviewer/teamviewer.SlackBuild index 58d7c36be0..b1819a9c35 100644 --- a/network/teamviewer/teamviewer.SlackBuild +++ b/network/teamviewer/teamviewer.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2010-2012 Binh Nguyen <binhvng@gmail.com> # Copyright 2013-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org> -# Copyright 2022 Gregory J. L. Tourte <artourter@gmail.com> +# Copyright 2022-2024 Gregory J. L. Tourte <artourter@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,8 +26,10 @@ # Modified by Mario Preksavec <mario@slackware.hr> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=teamviewer -VERSION=${VERSION:-15.34.4} +VERSION=${VERSION:-15.52.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -48,7 +50,6 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then exit 0 fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -99,12 +100,11 @@ done 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 {} \; + -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ +# we do not strip te libicudata library as it prevents the package from working. +find $PKG -print0 | xargs -0 file | grep -v -e 'libicudata' | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true # Link icon to /usr/share/pixmaps |