mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
41 lines
1.8 KiB
Bash
41 lines
1.8 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.1.0.81
|
||
|
pkgrel=2
|
||
|
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')
|
||
|
conflicts=('skype-staticqt')
|
||
|
options=('!strip')
|
||
|
install=skype.install
|
||
|
source=(http://download.skype.com/linux/$pkgname-$pkgver.tar.bz2 PERMISSION)
|
||
|
md5sums=('5411dcf89e33f53df5fbe5958bbaef54'
|
||
|
'26e1772379d4d4df9471b6ed660a6d97')
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src/$pkgname-$pkgver
|
||
|
install -m 755 -d $startdir/pkg/usr/share/$pkgname/{avatars,lang,sounds}
|
||
|
install -m 644 avatars/* $startdir/pkg/usr/share/$pkgname/avatars
|
||
|
install -m 644 lang/* $startdir/pkg/usr/share/$pkgname/lang
|
||
|
install -m 644 sounds/* $startdir/pkg/usr/share/$pkgname/sounds
|
||
|
install -m 755 -D $pkgname $startdir/pkg/usr/bin/$pkgname
|
||
|
install -m 644 -D $pkgname.conf $startdir/pkg/etc/dbus-1/system.d/$pkgname.conf
|
||
|
install -m 644 -D icons/SkypeBlue_16x16.png $startdir/pkg/usr/share/icons/hicolor/16x16/$pkgname.png
|
||
|
install -m 644 -D icons/SkypeBlue_32x32.png $startdir/pkg/usr/share/icons/hicolor/32x32/$pkgname.png
|
||
|
install -m 644 -D icons/SkypeBlue_48x48.png $startdir/pkg/usr/share/icons/hicolor/48x48/$pkgname.png
|
||
|
install -m 644 -D icons/SkypeBlue_48x48.png $startdir/pkg/usr/share/pixmaps/$pkgname.png
|
||
|
install -m 644 -D $pkgname.desktop $startdir/pkg/usr/share/applications/$pkgname.desktop
|
||
|
install -m 644 -D LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
|
||
|
install -m 644 -D $startdir/src/PERMISSION $startdir/pkg/usr/share/licenses/$pkgname/PERMISSION
|
||
|
}
|