summaryrefslogtreecommitdiff
path: root/zoom/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'zoom/PKGBUILD')
-rw-r--r--zoom/PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/zoom/PKGBUILD b/zoom/PKGBUILD
index 42988b6b3..71ec30491 100644
--- a/zoom/PKGBUILD
+++ b/zoom/PKGBUILD
@@ -2,8 +2,9 @@
# Contributor: Gordian Edenhofer <gordian.edenhofer@gmail.com>
pkgname=zoom
-pkgver=5.6.4
-_build=16888.0424
+pkgver=5.6.4.16888.0424
+_pkgver=${pkgver%.*.*}
+_build=${pkgver#${_pkgver}.}
pkgrel=1
pkgdesc="Video Conferencing and Web Conferencing Service"
arch=('x86_64')
@@ -18,7 +19,7 @@ optdepends=('pulseaudio-alsa: audio via PulseAudio'
'picom: extra compositor needed by some window managers for screen sharing'
'xcompmgr: extra compositor needed by some window managers for screen sharing')
options=(!strip)
-source=("${pkgname}-${pkgver}_orig_x86_64.pkg.tar.xz"::"https://zoom.us/client/${pkgver:0:-1}${_build}/zoom_x86_64.pkg.tar.xz")
+source=("${pkgname}-${pkgver}_orig_x86_64.pkg.tar.xz"::"https://zoom.us/client/${_pkgver%.*}.${_build}/zoom_x86_64.pkg.tar.xz")
sha512sums=('c6b8b4ad9f35d89e6139d0beb9809eb455a19387c1646734839ea045e275f8f56b33d06479fdb3128216c054122090103d1c40c808fdd37a52aef85e4bfc4e45')
prepare() {