mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
network/teamviewer: Remove redundant desktop file.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
4bbd6ecdf6
commit
652ad66cfe
1 changed files with 2 additions and 8 deletions
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for teamviewer
|
# Slackware build script for teamviewer
|
||||||
|
|
||||||
# Copyright 2010-2012 Binh Nguyen <binhvng@gmail.com>
|
# Copyright 2010-2012 Binh Nguyen <binhvng@gmail.com>
|
||||||
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
|
# Copyright 2013-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
PRGNAM=teamviewer
|
PRGNAM=teamviewer
|
||||||
VERSION=${VERSION:-13.0.6634}
|
VERSION=${VERSION:-13.0.6634}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -85,12 +85,6 @@ find -L . \
|
||||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
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
|
| 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/tv_bin/desktop/com.teamviewer.TeamViewer.desktop \
|
|
||||||
| sed -e 's/EXEC/teamviewer/' -e 's/ICON/teamviewer/' \
|
|
||||||
> $PKG/usr/share/applications/teamviewer.desktop
|
|
||||||
|
|
||||||
# Remove the dangling symlink first
|
# Remove the dangling symlink first
|
||||||
rm -f $PKG/usr/bin/teamviewer
|
rm -f $PKG/usr/bin/teamviewer
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue