blob: 9befb70bca299144ef3d164f16c165fa7956f5e9 (
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
|
# Maintainer: TrueConf LLC <packager@trueconf.com>
pkgbase='trueconf-client'
pkgname='trueconf'
pkgver='8.4.0.1957'
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=('pulseaudio'
'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'
)
install="${pkgname}-client.install"
_channel=stable
source=('https://mirror.trueconf.com/archlinux/trueconf-8.4.0.1957-1-x86_64.pkg.tar.zst')
sha512sums=('444e590cc52494ca5df075f4fbf3a95e8c478f2535c90982a408a7a67a38e58566bb6272057d03c4a0be160ba4e4d720f683898373ca61572fbe60e4d709cc82')
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}-autostart.desktop" "${pkgdir}/opt/${pkgname}/client/${pkgname}-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}/lib"
cp -r "${srcdir}/opt/${pkgname}/client/lib/"* "${pkgdir}/opt/client/${pkgname}/lib"
#fonts
install -m755 -d "${pkgdir}/opt/${pkgname}/client/fonts"
cp -r "${srcdir}/opt/${pkgname}/client/fonts/"* "${pkgdir}/opt/${pkgname}/client/fonts"
#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
}
|