PKGBUILDs/community/skype/PKGBUILD
2009-10-09 21:15:33 -05:00

32 lines
1.6 KiB
Bash

# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
pkgname=skype
pkgver=2.1.0.47
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')
conflicts=('skype-staticqt')
options=('!strip')
source=(http://download.skype.com/linux/$pkgname-$pkgver.tar.bz2 PERMISSION)
md5sums=('7396164fb926705300d72cd478458d36'
'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
}