blob: e4c327ddce5652c20cc321f56e5435a539968b43 (
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
|
# Maintainer: Robin H. <robin at blckct dot io>
pkgname=alfaview-beta
pkgver=9.18.0
pkgrel=1
pkgdesc='High quality audio video conferencing for professional online meetings and live classes'
arch=('x86_64')
url='https://alfaview.com/'
license=('unknown')
# not sure about the deps, copy-pasted from debian package (feedback required)
depends=('ttf-roboto' 'libsecret' 'xdg-utils' 'freetype2' 'fontconfig' 'gst-plugins-good' 'gst-plugins-bad' 'libxfixes' 'alsa-lib' 'libxkbcommon' 'dbus' 'libpulse' 'libtiff5')
conflicts=('alfaview')
provides=("alfaview=${pkgver}")
options=('!strip')
install="$pkgname.install"
source=("https://assets.alfaview.com/beta/linux/deb/alfaview_${pkgver}.deb")
noextract=("alfaview_${pkgver}.deb")
sha256sums=('37d3fe162a7a8263ed05c02534e7707441fae5f1d0e9ad3ac9b497526543ad3a')
prepare() {
mkdir -p deb-data
bsdtar -O -xf "alfaview_${pkgver}.deb" data.tar.xz | bsdtar -C ./deb-data -xJf -
# Adding beta update chennel to settings to avoid update notification on startup
mkdir -p ~/.local/share/alfaview/settings
echo $'[General]\nDeployChannel=beta' >~/.local/share/alfaview/settings/core_settings_local.ini
}
package() {
mv deb-data/* "${pkgdir}/"
mkdir -p "${pkgdir}/usr/bin"
ln -sf /opt/alfaview/alfaview "${pkgdir}/usr/bin/alfaview"
}
|