wok-6.x rev 24041
modified stuff/get-teamviewer
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 14 16:38:51 2021 +0100 (2021-04-14) |
parents | 05230b2f15de |
children | a00792a1ec20 |
files | get-teamviewer/stuff/get-teamviewer |
line diff
1.1 --- a/get-teamviewer/stuff/get-teamviewer Tue Apr 13 17:03:24 2021 +0000 1.2 +++ b/get-teamviewer/stuff/get-teamviewer Wed Apr 14 16:38:51 2021 +0100 1.3 @@ -5,6 +5,7 @@ 1.4 # 1.5 # Author : 1.6 # modified by HGT on 2021-04-06 1.7 +# modified by HGT on 2021-04-14 1.8 # 1.9 1.10 # === Initialisations === 1.11 @@ -13,7 +14,7 @@ 1.12 PACKAGE="teamviewer" 1.13 CATEGORY="non-free" 1.14 WEB_SITE="https://www.teamviewer.com/" 1.15 -DEPENDS="alsa-lib bash xorg-libXext zlib" 1.16 +DEPENDS="alsa-lib bash libjpeg62 xorg-libXext zlib" 1.17 1.18 # Declare functions check_root, status, ... 1.19 . /lib/libtaz.sh 1.20 @@ -135,31 +136,39 @@ 1.21 mkdir $PACKAGE 1.22 dpkg-deb -e $FILE $PACKAGE/meta 1.23 dpkg-deb -x $FILE $PACKAGE/fs 1.24 -find $PACKAGE/fs | grep /script/ | xargs sed -i 's|--append|-a|' 1.25 1.26 # Remove archive file 1.27 rm -f $FILE 1.28 + 1.29 +find $PACKAGE/fs | grep /script/ | xargs sed -i 's|--append|-a|' 1.30 + 1.31 sed '/^Description:/,$!d;s/^Description://' \ 1.32 < $PACKAGE/meta/control > $PACKAGE/description.txt 1.33 1.34 SHORT_DESC="$(sed '/^Description:/!d;s/.*: //' $PACKAGE/meta/control)" 1.35 MAINTAINER="$(sed '/^Maintainer:/!d;s/.*: //' $PACKAGE/meta/control)" 1.36 VERSION="$(sed '/^Version:/!d;s/.*: //' $PACKAGE/meta/control)" 1.37 + 1.38 mv $PACKAGE $PACKAGE-$VERSION 1.39 1.40 cd $PACKAGE-$VERSION/fs 1.41 [ -e usr/bin/$PACKAGE ] || 1.42 ln -s $(cd usr/bin ; ls $PACKAGE* 2> /dev/null) \ 1.43 usr/bin/$PACKAGE 2> /dev/null || true 1.44 + 1.45 mkdir -p usr/share/applications 1.46 1.47 -# removed because failing, to be repaired by somebody else: 1.48 +# because failing ... 1.49 #sed "s|EXEC|/usr/bin/$PACKAGE|g;s!ICON!/$(find opt | grep $PACKAGE.png)!g" \ 1.50 # < $(find opt | grep -E '(desktop.template|\.desktop$)') \ 1.51 # > usr/share/applications/$PACKAGE.desktop 1.52 +# replaced by: 1.53 +cp opt/teamviewer/tv_bin/desktop/teamviewer-teamviewer??.desktop \ 1.54 + usr/share/applications/teamviewer.desktop 1.55 1.56 sed -i 's/readlink -e/readlink $0 || echo /' \ 1.57 $(find opt -type f | grep /$PACKAGE$) 1.58 + 1.59 cd ../.. 1.60 1.61 cat > $PACKAGE-$VERSION/receipt <<EOT