forked from ports/contrib
38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
# 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, monster dot romster at gmail dot com
|
|
# Packager: sten, nick dot steeves at shaw dot ca
|
|
# Depends on: qt4-32 alsa-lib-32 xorg-libxscrnsaver-32 xorg-libxv-32 apulse-32
|
|
|
|
name=skype
|
|
version=4.3.0.37
|
|
release=1
|
|
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
|
|
exec apulse-32 skype-bin "$@"
|
|
EOF
|
|
chmod 0775 $PKG/usr/bin/skype
|
|
}
|