# Description: P2P VoIP software which supports end-to-end encryption. # URL: http://www.skype.com/intl/en/get-skype/on-your-computer/linux/ # Maintainer: Danny Rawlins, crux at romster dot me # Packager: sten, nick dot steeves at shaw dot ca # Depends on: apulse-32 qt4-32 xorg-libxscrnsaver-32 xorg-libxv-32 name=skype version=4.3.0.37 release=2 source=(http://download.skype.com/linux/$name-$version.tar.bz2) build() { cd $name-$version install -D -m 0755 skype $PKG/usr/bin/skype-bin install -d $PKG/usr/share/skype/{avatars,lang,sounds} install -m 0644 avatars/* $PKG/usr/share/skype/avatars install -m 0644 lang/* $PKG/usr/share/skype/lang install -m 0644 sounds/* $PKG/usr/share/skype/sounds for i in 16 24 32 48 64 96 256; do install -m 0644 -D icons/SkypeBlue_${i}x$i.png \ $PKG/usr/share/icons/hicolor/${i}x$i/apps/skype.png done install -m 0644 -D icons/SkypeBlue_48x48.png $PKG/usr/share/pixmaps/skype.png install -D -m 0644 skype.desktop $PKG/usr/share/applications/skype.desktop #install -D -m 0644 skype.conf $PKG/etc/dbus-1/system.d/skype.conf cat <<- EOF > $PKG/usr/bin/skype #!/bin/bash if [ -e '/usr/lib32/libpulse.so' ]; then export PULSE_LATENCY_MSEC=60 exec /usr/bin/skype-bin "\$@" else exec apulse-32 /usr/bin/skype-bin "\$@" fi EOF chmod 0775 $PKG/usr/bin/skype }