void-packages/srcpkgs/skype/template

52 lines
1.4 KiB
Text

# Template file for 'skype'
pkgname=skype
version=4.2.0.13
revision=2
build_style=meta
short_desc="P2P software for high-quality voice communication"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.skype.com"
license="skype"
distfiles="http://download.skype.com/linux/${pkgname}-${version}.tar.bz2"
checksum=a51616242b8b1202b936ac958024b793cc271fe9994372efb1e7930d98b9f38c
only_for_archs="i686"
nonfree="yes"
nostrip="yes"
makedepends="qt>=4.8.4_4 hicolor-icon-theme>=0"
depends="${makedepends}"
# Use explicit dependencies for 32bit pkg, otherwise they are wrong.
lib32mode="full"
lib32depends="v4l-utils>=0 libXv>=0 libXScrnSaver>=0 ${depends}"
do_install() {
# Executable
vinstall ${FILESDIR}/skype.sh 755 usr/bin skype
vinstall skype 755 usr/lib/skype
# 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
}