blob: acb078ea5bfbe62bf8554183f2703c6edb65881b (
plain)
1 # Description: P2P VoIP software which supports end-to-end encryption.
2 # URL: http://www.skype.com/intl/en/get-skype/on-your-computer/linux/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Packager: sten, nick dot steeves at shaw dot ca
5 # Depends on: apulse-32 qt4-32 xorg-libxscrnsaver-32 xorg-libxv-32
6
7 name=skype
8 version=4.3.0.37
9 release=2
10 source=(http://download.skype.com/linux/$name-$version.tar.bz2)
11
12 build() {
13 cd $name-$version
14
15 install -D -m 0755 skype $PKG/usr/bin/skype-bin
16
17 install -d $PKG/usr/share/skype/{avatars,lang,sounds}
18 install -m 0644 avatars/* $PKG/usr/share/skype/avatars
19 install -m 0644 lang/* $PKG/usr/share/skype/lang
20 install -m 0644 sounds/* $PKG/usr/share/skype/sounds
21
22 for i in 16 24 32 48 64 96 256; do
23 install -m 0644 -D icons/SkypeBlue_${i}x$i.png \
24 $PKG/usr/share/icons/hicolor/${i}x$i/apps/skype.png
25 done
26
27 install -m 0644 -D icons/SkypeBlue_48x48.png $PKG/usr/share/pixmaps/skype.png
28
29 install -D -m 0644 skype.desktop $PKG/usr/share/applications/skype.desktop
30 #install -D -m 0644 skype.conf $PKG/etc/dbus-1/system.d/skype.conf
31
32 cat <<- EOF > $PKG/usr/bin/skype
33 #!/bin/bash
34 if [ -e '/usr/lib32/libpulse.so' ]; then
35 export PULSE_LATENCY_MSEC=60
36 exec /usr/bin/skype-bin "\$@"
37 else
38 exec apulse-32 /usr/bin/skype-bin "\$@"
39 fi
40 EOF
41 chmod 0775 $PKG/usr/bin/skype
42 }
|