# Lib32 Packages for Chakra, part of chakra-project.org # # maintainer Anke Boersma pkgname=skype pkgver=4.1.0.20 pkgrel=1 arch=('x86_64') pkgdesc="P2P software for high-quality voice communication" url="http://www.skype.com/" license=('custom') options=('!strip') install=skype.install depends=('xdg-utils' 'hicolor-icon-theme' lib32-{qt,alsa-lib,libxss,libxv,libxcursor}) optdepends=('lib32-libcanberra: XDG sound support' 'lib32-libpulse: PulseAudio support') source=("http://download.skype.com/linux/$pkgname-$pkgver.tar.bz2" 'PERMISSION') md5sums=('fe41f6b36e96730161c0f9332b001575' '26e1772379d4d4df9471b6ed660a6d97') package() { cd "$srcdir/$pkgname-$pkgver" # Executable install -D skype "$pkgdir/usr/bin/skype" # Data mkdir -p "$pkgdir"/usr/share/skype/{avatars,lang,sounds} install -m 644 avatars/* "$pkgdir/usr/share/skype/avatars" install -m 644 lang/* "$pkgdir/usr/share/skype/lang" install -m 644 sounds/* "$pkgdir/usr/share/skype/sounds" # DBus Service install -Dm 644 skype.conf \ "$pkgdir/etc/dbus-1/system.d/skype.conf" # Icons for _i in 16 32 48; do install -Dm 644 icons/SkypeBlue_${_i}x${_i}.png \ "$pkgdir/usr/share/icons/hicolor/${_i}x${_i}/skype.png" done install -Dm 644 icons/SkypeBlue_48x48.png \ "$pkgdir/usr/share/pixmaps/skype.png" # Desktop file install -Dm 644 skype.desktop \ "$pkgdir/usr/share/applications/skype.desktop" # License install -Dm 644 LICENSE \ "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -Dm 644 "$srcdir/PERMISSION" \ "$pkgdir/usr/share/licenses/$pkgname/PERMISSION" }