-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
55 lines (50 loc) · 1.44 KB
/
PKGBUILD
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
pkgname=webex
pkgver=41.5.0.18911
pkgrel=1
pkgdesc="Webex for Linux"
arch=('x86_64')
url="https://www.webex.com/"
license=('custom')
depends=('alsa-lib'
'at-spi2-atk'
'at-spi2-core'
'atk'
'binutils'
'krb5'
'libcups'
'libnotify'
'pulseaudio'
'libsecret'
'libxcb'
'libxkbcommon'
'mesa'
'nspr'
'nss'
'pango'
'systemd'
'upower'
'wayland'
'xcb-util-image'
'xcb-util-keysyms'
'xcb-util-renderutil'
'xcb-util-wm'
'xdg-utils')
source=("$pkgname-$pkgver.deb::https://binaries.webex.com/WebexDesktop-Ubuntu-Official-Package/Webex.deb"
'webex.xml')
sha256sums=('53f9b6a4ef87d46a97c89ea4d037f48758b29c3d77cb73cfcbf1cf947017c769'
'0d0b2664ac4aeb9a4a4b9f530dee4a14c13875735b87a3d96bf81f43eeec00ab')
options=('!strip')
prepare() {
mkdir -p "$pkgname-$pkgver"
tar -Jxf data.tar.xz -C "$pkgname-$pkgver"
}
package() {
cd "$pkgname-$pkgver"
cp -dpr --no-preserve=ownership opt/ "$pkgdir/"
mkdir -p "$pkgdir/usr/share/applications/"
mv "$pkgdir/opt/Webex/bin/webex.desktop" "$pkgdir/usr/share/applications/"
mkdir -p "$pkgdir/usr/share/mime/packages/"
install -m0644 "${srcdir}/webex.xml" "${pkgdir}/usr/share/mime/packages/"
mkdir -p "$pkgdir/usr/bin/"
ln -s "/opt/Webex/bin/CiscoCollabHost" "$pkgdir/usr/bin/webex"
}