# Description: logiciel de discussion par VoIP
# URL: http://skype.com/
# Maintainer: Blankoworld
# Packager: blankoworld at wanadoo dot fr
# Depends on: qt

name=skype_static
version=2.1.0.47
release=1
source=( http://download.skype.com/linux/$name-$version.tar.bz2 \
skype)

build() {
	cd $name-$version
	install -d $PKG/usr/share/$name/
	install -d $PKG/usr/bin/
	cp -r $SRC/$name-$version/* $PKG/usr/share/$name/
	cp -p ../skype $PKG/usr/bin/skype
	chown -R root:root $PKG
        install -Dm644 $SRC/$name-$version/skype.desktop \
                $PKG/usr/share/applications/skype.desktop
        install -Dm644 $SRC/$name-$version/icons/SkypeBlue_48x48.png \
                $PKG/usr/share/pixmaps/skype.png
}