diff options
Diffstat (limited to 'network/teamviewer/teamviewer.SlackBuild')
-rw-r--r-- | network/teamviewer/teamviewer.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/network/teamviewer/teamviewer.SlackBuild b/network/teamviewer/teamviewer.SlackBuild index b7c747bdcc..df96512f6f 100644 --- a/network/teamviewer/teamviewer.SlackBuild +++ b/network/teamviewer/teamviewer.SlackBuild @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=teamviewer -VERSION=${VERSION:-6.0.9224} -BUILD=${BUILD:-2} +VERSION=${VERSION:-6.0.9258} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -64,9 +64,6 @@ mkdir -p $TMP $PKG $OUTPUT cd $PKG ar p $CWD/teamviewer_linux${DEBARCH}.deb data.tar.gz | gzip -d | tar xv -# Remove the upstream's version-specific executable -rm -f usr/bin/* - chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -74,12 +71,15 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Remove upstream's version-specific executable +rm -f usr/bin/* + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true # Make a .desktop file mkdir -p $PKG/usr/share/applications -cat $PKG/opt/teamviewer/teamviewer/$MAIN_VER/desktop/teamviewer-teamviewer.desktop.template \ +cat $PKG/opt/teamviewer/teamviewer/$MAIN_VER/desktop/teamviewer.desktop.template \ | sed -e 's/EXEC/teamviewer/' -e 's/ICON/teamviewer/' \ > $PKG/usr/share/applications/teamviewer.desktop |