# Template file for 'skype' pkgname=skype nonfree=yes only_for_archs=i686 nostrip=yes version=4.0.0.7 distfiles="http://download.skype.com/linux/${pkgname}-${version}.tar.bz2" checksum=d615fb48bb0535ab4fbf0630b08c825c3b09f05f41520c9faba36c8db9e23a57 fulldepends="hicolor-icon-theme desktop-file-utils" revision=2 short_desc="P2P software for high-quality voice communication" maintainer="davehome " homepage="http://www.skype.com" license="skype" long_desc=" Skype is a proprietary voice over Internet Protocol service and software application originally created by Niklas Zennström and Janus Friis, and owned by Microsoft since 2011. The service allows users to communicate with peers by voice, video, and instant messaging over the Internet. Phone calls may be placed to recipients on the traditional telephone networks. Calls to other users within the Skype service are free of charge, while calls to landline telephones and mobile phones are charged via a debit-based user account system. Skype has also become popular for its additional features, including file transfer, and videoconferencing. Competitors include SIP and H.323-based services, such as Empathy, Linphone, Ekiga as well as the Google Talk service." gtk_iconcache_dirs=" /usr/share/icons/hicolor /usr/share/pixmaps" do_install() { # Based on an Arch AUR PKGBUILD # Executable vinstall skype 755 usr/bin # Data vmkdir usr/share/skype vcopy avatars usr/share/skype vcopy lang usr/share/skype vcopy sounds usr/share/skype # DBus Service vinstall skype.conf 644 etc/dbus-1/system.d # Icons for _i in 16 32 48; do vmkdir usr/share/icons/hicolor/${_i}x${_i} vcopy icons/SkypeBlue_${_i}x${_i}.png \ usr/share/icons/hicolor/${_i}x${_i}/skype.png done vinstall icons/SkypeBlue_48x48.png 644 usr/share/pixmaps skype.png # Desktop file vinstall skype.desktop 644 usr/share/applications # License vinstall LICENSE 644 usr/share/licenses/skype vinstall "third-party_attributions.txt" 644 usr/share/licenses/skype }