void-packages/srcpkgs/skype/template

47 lines
1.2 KiB
Plaintext
Raw Normal View History

# Template file for 'skype'
pkgname=skype
2013-05-23 00:40:02 +02:00
version=4.2.0.11
2014-02-17 09:39:13 +01:00
revision=2
short_desc="P2P software for high-quality voice communication"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://www.skype.com"
license="skype"
distfiles="http://download.skype.com/linux/${pkgname}-${version}.tar.bz2"
2013-05-23 00:40:02 +02:00
checksum=87d30ab2ca219c1661c6497900da8fec5a30d8383f32240dc5a48f0aca35064e
2013-05-23 00:40:02 +02:00
# XXX no multiarch for now.
only_for_archs="i686"
nonfree="yes"
nostrip="yes"
2013-05-23 00:40:02 +02:00
makedepends="qt>=4.8.4_4 hicolor-icon-theme desktop-file-utils"
depends="${makedepends}"
2013-05-23 00:40:02 +02:00
do_install() {
# 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
2013-05-23 00:40:02 +02:00
vinstall skype.desktop 644 usr/share/applications
# License
vinstall LICENSE 644 usr/share/licenses/skype
2012-06-17 03:30:49 +02:00
vinstall "third-party_attributions.txt" 644 usr/share/licenses/skype
}