summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorÓscar García Amor2021-03-12 10:35:10 +0100
committerÓscar García Amor2021-03-12 10:35:10 +0100
commit52eb3333736ce097575fa8953558b310810b8c55 (patch)
tree71b004a18be8c2c4c443ae8b232b7dfa03826f20 /PKGBUILD
parent7c00be825540ff2bddc8bf91e9b3e97e12dd38ba (diff)
downloadaur-52eb3333736ce097575fa8953558b310810b8c55.tar.gz
upgpkg: teams 1.4.00.4855-2
Add a fix to the order of items in the startup script so that the meeting links will work again.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9c66bb806c99..62f629053a3c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=teams
pkgver=1.4.00.4855
-pkgrel=1
+pkgrel=2
pkgdesc="Microsoft Teams for Linux is your chat-centered workspace in Office 365"
arch=('x86_64')
url="https://teams.microsoft.com/downloads"
@@ -12,13 +12,18 @@ optdepends=("libappindicator-gtk3: Systray indicator support"
"org.freedesktop.secrets: Keyring password store support")
conflicts=("ms-teams")
replaces=("ms-teams")
-source=("https://packages.microsoft.com/repos/ms-teams/pool/main/t/teams/${pkgname}_${pkgver}_amd64.deb")
+source=("https://packages.microsoft.com/repos/ms-teams/pool/main/t/teams/${pkgname}_${pkgver}_amd64.deb"
+ "${pkgname}.patch")
noextract=("${pkgname}_${pkgver}_amd64.deb")
-sha256sums=('a91dbdf646f12659fdf8d08831aa06ab1bf4cc6fb981841c36a350f29bd714bc')
+sha256sums=('a91dbdf646f12659fdf8d08831aa06ab1bf4cc6fb981841c36a350f29bd714bc'
+ 'eb6189854bd0ac1c1ac21de21e952603b33b11e0e43ec07d291bc645320fcca8')
package() {
bsdtar -O -xf "${pkgname}_${pkgver}_amd64.deb" data.tar.xz | bsdtar -C "${pkgdir}" -xJf -
+ # Fix the order of items in the startup script so that the meeting links will work again
+ patch -d "${pkgdir}" -p1 <"${pkgname}".patch
+
# Move license
install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
mv "${pkgdir}/usr/share/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}"