blob: 2f3b2a2fcc914972a0491fa70339669a7693bb54 (
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
|
# Maintainer: sandboiii <archlinux at sandboiii dot xyz>
# Contributor: VHSgunzo <vhsgunzo.github.io>
pkgname='vkteams-bin'
pkgbasename='vkteams'
pkgver=24.9.5.50032
pkgrel=1
pkgdesc='Official desktop application for the VK Teams messaging service'
arch=("x86_64")
url='https://teams.vk.com'
provides=("$pkgbasename")
conflicts=("$pkgbasename")
install=$pkgname.install
source=("$pkgbasename-$pkgver.tar.xz::https://dl.internal.myteam.mail.ru/downloads/linux/x64/$pkgver/$pkgbasename.tar.xz"
"$pkgbasename.sh"
"$pkgbasename.png")
sha256sums=('0c9f7809097f93c460b23ffd34d7a7dbd3bae653f529657555c30afbf9dde98e'
'a2afc2dbd79e67736511c91b3d8f0a5fe3800c929ead9909d1b8f90fe7a7ca4b'
'f4d3d9c11bcfd458a44f6e555bd753284b680c25977ddcfdf6039ea3ba65a75a')
options=('!strip')
optdepends=('hunspell: spell checker'
'hunspell-ru: проверка орфографии')
shopt -s extglob
package() {
install -dm755 "$pkgdir/opt/$pkgbasename"
install -dm755 "$pkgdir/usr/bin"
cp -ar --no-preserve=ownership "$srcdir"/!(${pkgbasename}.sh|${pkgbasename}.png) "$pkgdir/opt/$pkgbasename"
rm -f "$pkgdir/opt/$pkgbasename/lib/libXcursor.so.1"
# rm -f "$pkgdir/opt/$pkgbasename/plugins/platforms/libqwayland-generic.so"
install -Dm755 "../$pkgbasename.sh" "$pkgdir/usr/bin/$pkgbasename"
install -Dm644 "../$pkgbasename.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/$pkgbasename.png"
}
|