blob: 3429a8e523a211a6fa837fdbe35f3c4c6c67504a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# Maintainer: TEL.RED LLC <ask_at_tel_dt_red>
# Contributor: Jameson Pugh <imntreal@gmail.com>
# Contributor: stef312 <stef312_at_gmail_dot_com>
# Contributor: Gaspar de Elías <caspercba_at_hotmail_dot_com>
# Contributor: Artem Sheremet <dot_doom_at_gmail_dot_com>
pkgname=sky
pkgver=2.0.352
pkgrel=1
pkgdesc="Lync & Skype for business on Linux"
arch=(
'x86_64'
# 'i686'
)
if [[ $CARCH == 'x86_64' ]]; then
_arch=64
elif [[ $CARCH == 'i686' ]]; then
_arch=32
fi
url="http://tel.red"
license=('custom: Copyright © 2015 TEL.RED LLC')
options=('!strip')
install="${pkgname}.install"
depends=('openssl' 'nss' 'gstreamer0.10-base' 'libpulse' 'alsa-lib' 'v4l-utils'
'libxinerama' 'libxss' 'libxcb')
optdepends=('ibus: Intelligent Input Bus (IBus) support')
makedepends=('binutils' 'chrpath')
source_x86_64=("http://tel.red/linux/sky_ubuntu64_v${pkgver}.deb")
# source_i686=("http://tel.red/linux/sky_ubuntu32_v${pkgver}.deb")
sha256sums_x86_64=('4a716713f3d836a59ba8e7411200a7b9d884812e73ced2ee8fe54b00a35a6867')
# sha256sums_i686=('6ee4ed6f140aea508dadd325a04bffb86971434de35172eda9c58ff36e7117b2')
package() {
cd "${srcdir}"
ar x "sky_ubuntu${_arch}_v${pkgver}.deb" >/dev/null
tar -zxf data.tar.gz
local icu_libs
icu_libs="libicudata libicudata libicudata libicule libiculx libicutest
libicutu libicuuc libicui18n libicuio"
# fix broken rpaths of bundled icu libs
for lib in ${icu_libs}; do
chrpath -d "${srcdir}"/opt/sky_linux/lib/${lib}.so*
done
cp -rf "${srcdir}/etc" "${pkgdir}/"
install -Dm 644 "${srcdir}/usr/share/applications/sky.desktop" "${pkgdir}/usr/share/applications/sky.desktop"
install -Dm 644 "${srcdir}/usr/share/pixmaps/sky.png" "${pkgdir}/usr/share/pixmaps/sky.png"
mv "${srcdir}/opt" "${pkgdir}/"
find "${pkgdir}/" -type d -exec chmod 0755 {} \;
mkdir -m 755 "${pkgdir}/usr/bin"
ln -sr "${pkgdir}/opt/sky_linux/sky.sh" "${pkgdir}/usr/bin/sky"
}
# vim: set ts=2 sw=2 ft=sh noet:
|