From 7f82fe64b011c1e16d2accf16ca08ebc95762fb9 Mon Sep 17 00:00:00 2001 From: Giuseppe Date: Sat, 15 Jan 2011 15:52:21 +0000 Subject: [PATCH] added skype --- skype/PERMISSION | 192 ++++++++++++++++++++++++++++++++++++++++++++ skype/PKGBUILD | 69 ++++++++++++++++ skype/skype.install | 13 +++ 3 files changed, 274 insertions(+) create mode 100644 skype/PERMISSION create mode 100644 skype/PKGBUILD create mode 100644 skype/skype.install diff --git a/skype/PERMISSION b/skype/PERMISSION new file mode 100644 index 0000000..3b959dd --- /dev/null +++ b/skype/PERMISSION @@ -0,0 +1,192 @@ +From - Wed Jun 15 15:48:34 2005 +X-Mozilla-Status: 0001 +X-Mozilla-Status2: 00800000 +Message-ID: <42B031AF.80604@juvepoland.com> +Date: Wed, 15 Jun 2005 15:48:31 +0200 +From: Jaroslaw Swierczynski +User-Agent: Mozilla Thunderbird 1.0 (X11/20050108) +X-Accept-Language: pl, en-us, en +MIME-Version: 1.0 +To: distribution@skype.net +Subject: Skype package for Arch Linux +Content-Type: text/plain; charset=ISO-8859-2; format=flowed +Content-Transfer-Encoding: 7bit + +Hello, + +I represent the community of Arch Linux distribution. I'm interested in +making package with Skype (ie. repacking original tarball to fit our FHS +and be installable by our package manager). I'd like to ask you +permission to do that. Thanks in advance. + +-- +Jaroslaw Swierczynski + +From - Wed Jun 15 16:06:58 2005 +X-Account-Key: account2 +X-UIDL: 779b6ba26c3dd2cc551e4e7020af6398 +X-Mozilla-Status: 0213 +X-Mozilla-Status2: 00000000 +Return-path: +Envelope-to: swiergot@juvepoland.com +Delivery-date: Wed, 15 Jun 2005 15:57:16 +0200 +Received: from [195.215.8.149] (helo=mail.skype.net) + by net1.hostbank.com.pl with esmtp (Exim 4.50) + id 1DiYOf-0004NF-8e + for swiergot@juvepoland.com; Wed, 15 Jun 2005 15:57:15 +0200 +Received: from localhost (localhost.localdomain [127.0.0.1]) + by mail.skype.net (Postfix) with ESMTP id 661E94DFFD + for ; Wed, 15 Jun 2005 15:57:25 +0200 (CEST) +Received: from jkaset41 (joltid-gw.joltid.org [195.50.194.24]) + by mail.skype.net (Postfix) with ESMTP id E91A14DF4A + for ; Wed, 15 Jun 2005 15:57:24 +0200 (CEST) +Message-ID: <016201c571ba$85381cb0$7100a8c0@jkaset41> +From: "Jaanus Kase" +To: "Jaroslaw Swierczynski" +References: <42B031AF.80604@juvepoland.com> +Subject: Re: Skype package for Arch Linux +Date: Wed, 15 Jun 2005 16:57:13 +0200 +MIME-Version: 1.0 +Content-Type: text/plain; + format=flowed; + charset="ISO-8859-2"; + reply-type=response +Content-Transfer-Encoding: 7bit +X-Priority: 3 +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook Express 6.00.2900.2527 +X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 +X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at skype.net + +Hi, + +thanks for letting us know. Repacking original tarball is fine. + + +-- +Information contained in this e-mail is confidential and proprietary. + +regards, +Jaanus Kase, Skype +jaanus.kase@skype.net +Skype Name: terminuz + + +----- Original Message ----- +From: "Jaroslaw Swierczynski" +To: +Sent: Wednesday, June 15, 2005 3:48 PM +Subject: Skype package for Arch Linux + + +> Hello, +> +> I represent the community of Arch Linux distribution. I'm interested in +> making package with Skype (ie. repacking original tarball to fit our FHS +> and be installable by our package manager). I'd like to ask you +> permission to do that. Thanks in advance. +> +> -- +> Jaroslaw Swierczynski +> + +From - Wed Jun 15 16:29:37 2005 +X-Mozilla-Status: 0001 +X-Mozilla-Status2: 00800000 +Message-ID: <42B03B4D.5060705@juvepoland.com> +Date: Wed, 15 Jun 2005 16:29:33 +0200 +From: Jaroslaw Swierczynski +User-Agent: Mozilla Thunderbird 1.0 (X11/20050108) +X-Accept-Language: pl, en-us, en +MIME-Version: 1.0 +To: Jaanus Kase +Subject: Re: Skype package for Arch Linux +References: <42B031AF.80604@juvepoland.com> <016201c571ba$85381cb0$7100a8c0@jkaset41> +In-Reply-To: <016201c571ba$85381cb0$7100a8c0@jkaset41> +Content-Type: text/plain; charset=ISO-8859-2; format=flowed +Content-Transfer-Encoding: 8bit + +Jaanus Kase napisał(a): +> thanks for letting us know. Repacking original tarball is fine. + +Great! Thanks! Just to make sure you understand my intentions, here is +what the community will be provided with: + +http://cvs.archlinux.org/cgi-bin/viewcvs.cgi/network/skype/?cvsroot=AUR +ftp://ftp.archlinux.org/community/os/i686/skype-1.1.0.13-1.pkg.tar.gz + +The package will be accesible via "pacman -S skype". + +-- +Jaroslaw Swierczynski + +From - Wed Jun 15 16:37:28 2005 +X-Account-Key: account2 +X-UIDL: df8b380b6a62c22a6bfb189a552b42f9 +X-Mozilla-Status: 0211 +X-Mozilla-Status2: 00000000 +Return-path: +Envelope-to: swiergot@juvepoland.com +Delivery-date: Wed, 15 Jun 2005 16:31:16 +0200 +Received: from [195.215.8.149] (helo=mail.skype.net) + by net1.hostbank.com.pl with esmtp (Exim 4.50) + id 1DiYvZ-0000pD-V1 + for swiergot@juvepoland.com; Wed, 15 Jun 2005 16:31:16 +0200 +Received: from localhost (localhost.localdomain [127.0.0.1]) + by mail.skype.net (Postfix) with ESMTP id 9C1CD4E049 + for ; Wed, 15 Jun 2005 16:31:36 +0200 (CEST) +Received: from jkaset41 (joltid-gw.joltid.org [195.50.194.24]) + by mail.skype.net (Postfix) with ESMTP id 0AC614DDFC + for ; Wed, 15 Jun 2005 16:31:35 +0200 (CEST) +Message-ID: <001701c571bf$4bb8c660$7100a8c0@jkaset41> +From: "Jaanus Kase" +To: "Jaroslaw Swierczynski" +References: <42B031AF.80604@juvepoland.com> <016201c571ba$85381cb0$7100a8c0@jkaset41> <42B03B4D.5060705@juvepoland.com> +Subject: Re: Skype package for Arch Linux +Date: Wed, 15 Jun 2005 17:31:24 +0200 +MIME-Version: 1.0 +Content-Type: text/plain; + format=flowed; + charset="ISO-8859-2"; + reply-type=response +X-Priority: 3 +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook Express 6.00.2900.2527 +X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 +X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at skype.net +Content-Transfer-Encoding: quoted-printable + +Thanks! That's all fine. + + +--=20 +Information contained in this e-mail is confidential and proprietary. + +regards, +Jaanus Kase, Skype +jaanus.kase@skype.net +Skype Name: terminuz + + +----- Original Message -----=20 +From: "Jaroslaw Swierczynski" +To: "Jaanus Kase" +Sent: Wednesday, June 15, 2005 4:29 PM +Subject: Re: Skype package for Arch Linux + + +> Jaanus Kase napisa=B3(a): +>> thanks for letting us know. Repacking original tarball is fine. +> +> Great! Thanks! Just to make sure you understand my intentions, here is=20 +> what the community will be provided with: +> +> http://cvs.archlinux.org/cgi-bin/viewcvs.cgi/network/skype/?cvsroot=3DA= +UR +> ftp://ftp.archlinux.org/community/os/i686/skype-1.1.0.13-1.pkg.tar.gz +> +> The package will be accesible via "pacman -S skype". +> +> --=20 +> Jaroslaw Swierczynski +>=20 diff --git a/skype/PKGBUILD b/skype/PKGBUILD new file mode 100644 index 0000000..76335e3 --- /dev/null +++ b/skype/PKGBUILD @@ -0,0 +1,69 @@ +# Lib32 Packages for Chakra, part of chakra-project.org +# +# maintainer (x86_64): Giuseppe Calà +# maintainer (x86_64): Anke Boersma + +pkgname=skype +pkgver=2.1.0.81 +pkgrel=1 +arch=(i686 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) +conflicts=('skype-staticqt') + +if [[ $CARCH == i686 ]]; then + depends+=(qt alsa-lib libxss libxv) + optdepends=('v4l-utils: webcam support' + 'libcanberra: XDG sound support' + 'pulseaudio: PulseAudio support') +else + depends+=(lib32-{qt,alsa-lib,libxss,libxv,v4l-utils}) + optdepends=('lib32-libcanberra: XDG sound support' + 'lib32-libpulse: PulseAudio support') + conflicts+=(bin32-skype bin32-skype-staticqt) + provides=("bin32-skype=$pkgver") + replaces=(bin32-skype) +fi + +source=(http://download.skype.com/linux/$pkgname-$pkgver.tar.bz2 PERMISSION) +md5sums=('5411dcf89e33f53df5fbe5958bbaef54' + '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" +} diff --git a/skype/skype.install b/skype/skype.install new file mode 100644 index 0000000..4551b30 --- /dev/null +++ b/skype/skype.install @@ -0,0 +1,13 @@ +post_install() { + if [[ -x usr/bin/xdg-icon-resource ]]; then + usr/bin/xdg-icon-resource forceupdate &>/dev/null || true + fi +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}