# Compiling time: 0.02 SBU # Maintainer: Marius Cirsta pkgname=skype pkgver=4.3.0.37 pkgrel=3 pkgdesc="Skype will let you make free calls to your friends all over the world." url="http://www.skype.com" [ "$CARCH" == "i686" ] && rodepends=('libstdc++' 'libqtwebkit' 'libxscrnsaver' 'libqtgui' 'libxv' 'libqtdbus') [ "$CARCH" == "x86_64" ] && rodepends=('lib32-libstdc++' 'lib32-libqtwebkit' 'lib32-libxscrnsaver' 'lib32-libqtgui' 'lib32-libxv' 'lib32-libqtdbus') rodepends=("${rodepends[@]}" 'pulseaudio') groups=('xapps-extra') archs=('i686' 'x86_64') up2date="lynx -dump http://skype.en.malavida.com/linux/download | sed -n 's|.*Skype \([0-9].*\)|\1|p' | head -n1" source=(http://download.skype.com/linux/${pkgname}-${pkgver}.tar.bz2) sha1sums=('02222ac3c32e7ae58fb044ab5d2541c4f0d11369') license="skype-eula" options=('nobuild' 'nostrip') _F_gnome_desktop=y Finclude gnome-scriptlet build() { Fcd Fbuild_gnome_scriptlet Fmkdir usr/share/skype # Install dbus system conf file Ffilerel /etc/dbus-1/system.d/${pkgname}.conf # Install bin file Fexerel /usr/bin/${pkgname} # Install desktop file Ffilerel /usr/share/applications/${pkgname}.desktop # Install icons files Ffilerel icons/* usr/share/pixmaps/skype/ # Install desktop icon link Fln /usr/share/pixmaps/skype/SkypeBlue_48x48.png \ /usr/share/pixmaps/skype.png Fln /usr/share/pixmaps/skype/SkypeBlue_48x48.png \ /usr/share/icons/skype.png # Install sound, avatars and language directoryes Fcprel sounds usr/share/skype/sounds/ Fcprel lang usr/share/skype/lang/ Fcprel avatars usr/share/skype/ }