mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
60 lines
1.7 KiB
Bash
60 lines
1.7 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=skype
|
|
pkgver=2.2.0.35
|
|
pkgrel=1
|
|
arch=('i686')
|
|
pkgdesc="P2P software for high-quality voice communication"
|
|
url="http://www.skype.com/"
|
|
license=('custom')
|
|
depends=('qt' 'alsa-lib' 'libxss' 'libxv' 'xdg-utils' 'hicolor-icon-theme' 'libcanberra' 'v4l-utils')
|
|
conflicts=('skype-staticqt')
|
|
options=('!strip')
|
|
install=skype.install
|
|
source=(http://download.skype.com/linux/$pkgname-$pkgver.tar.bz2 PERMISSION)
|
|
md5sums=('6e28002c0086fae5206e2d242c3edcfa'
|
|
'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"
|
|
}
|
|
|