blob: f441e569cf5166d6d683664aaa04dc50dbb66d6a (
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
# Maintainer: TrueConf LLC <packager@trueconf.com>
pkgbase='trueconf-client'
pkgname='trueconf'
pkgver='8.5.0.1375'
pkgrel='1'
pkgdesc='Video conference client with a range of rich collaborative tools and an easy-to-use interface'
arch=('x86_64')
url='https://trueconf.com'
mirror='https://mirror.trueconf.com/archlinux'
license=('custom:trueconf')
depends=('alsa-utils'
'bzip2'
'curl'
'dbus'
'openssl'
'glib2'
'icu'
'lame'
'libglvnd'
'libidn'
'libphonenumber'
'libsystemd'
'libx11'
'ghostscript'
'libxcb'
'libxext'
'libxrandr'
'protobuf'
'qt5-base'
'qt5-multimedia'
'qt5-svg'
'qt5-webview'
'qt5-webengine'
'qt5-webchannel'
'qt5-declarative'
'c-ares'
'qt5-quickcontrols'
'qt5-quickcontrols2'
'qt5-graphicaleffects'
'libxss'
'speex'
'speexdsp'
'sqlite'
'v4l-utils'
'zlib'
'systemd'
'intel-media-sdk'
'gsl'
'krb5'
'double-conversion'
'boost-libs'
'libxcomposite'
'libxdamage'
'libxfixes'
'mesa-utils'
)
install="${pkgname}-client.install"
_channel=stable
source=('https://mirror.trueconf.com/archlinux/trueconf-8.5.0.1375-1-x86_64.pkg.tar.zst')
sha512sums=('03c8a5ca83d6fa74454465a97a1ced52dfedc71d77b03bce5e8ba04e0503bc678a1553ec9d5540f7f9597ecec54afe92821bce0e3d6b97a064a454bfee0ccad8')
package() {
cd "${srcdir}"
install -Dm 755 "${srcdir}/opt/${pkgname}/client/TrueConf" "${pkgdir}/opt/${pkgname}/client/TrueConf"
install -Dm 755 "${srcdir}/opt/${pkgname}/client/${pkgname}" "${pkgdir}/opt/${pkgname}/client/${pkgname}"
install -Dm 755 "${srcdir}/opt/${pkgname}/client/${pkgname}-autostart" "${pkgdir}/opt/${pkgname}/client/${pkgname}-autostart"
install -Dm 644 "${srcdir}/opt/${pkgname}/client/${pkgname}_client-autostart.desktop" "${pkgdir}/opt/${pkgname}/client/${pkgname}_client-autostart.desktop"
install -Dm 644 "${srcdir}/usr/share/metainfo/${pkgname}.appdata.xml" "${pkgdir}/usr/share/metainfo/${pkgname}.appdata.xml"
install -Dm 644 "${srcdir}/usr/share/applications/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -Dm 644 "${srcdir}/usr/share/pixmaps/${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
install -Dm 644 "${srcdir}/usr/share/pixmaps/${pkgname}16.png" "${pkgdir}/usr/share/pixmaps/${pkgname}16.png"
#libs
install -m755 -d "${pkgdir}/opt/${pkgname}/client/lib"
cp -r "${srcdir}/opt/${pkgname}/client/lib/"* "${pkgdir}/opt/${pkgname}/client/lib"
#fonts
install -m755 -d "${pkgdir}/opt/${pkgname}/client/fonts"
cp -r "${srcdir}/opt/${pkgname}/client/fonts/"* "${pkgdir}/opt/${pkgname}/client/fonts"
#model
install -m755 -d "${pkgdir}/opt/${pkgname}/client/model"
cp -r "${srcdir}/opt/${pkgname}/client/model/"* "${pkgdir}/opt/${pkgname}/client/model"
#icons
names=(
busy
missed
not-connected
offline
online
tray-away
tray-dnd
unread
)
for i in 22x22 24x24 32x32 48x48 64x64; do
for x in ${!names[*]}; do
install -Dm 644 "${srcdir}/usr/share/icons/hicolor/$i/status/${pkgname}-${names[$x]}.png" \
"${pkgdir}/usr/share/icons/hicolor/$i/status/${pkgname}-${names[$x]}.png"
done
done
}
|