summaryrefslogtreecommitdiff
path: root/teams
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-06-30 20:25:48 +0200
committerErich Eckner <git@eckner.net>2021-07-01 06:22:46 +0200
commit2e4133b772a18da804f2790a29c5a6473a9acf17 (patch)
tree4bb8f6aa9cdc3a365f860898a08911b80fe52522 /teams
parentca47e8480b6cc4301da73180fc9ab2c81f5cf4f4 (diff)
downloadarchlinuxewe-2e4133b772a18da804f2790a29c5a6473a9acf17.tar.xz
teams neu
Diffstat (limited to 'teams')
-rw-r--r--teams/.gitignore1
-rw-r--r--teams/PKGBUILD30
2 files changed, 31 insertions, 0 deletions
diff --git a/teams/.gitignore b/teams/.gitignore
new file mode 100644
index 000000000..c00df136d
--- /dev/null
+++ b/teams/.gitignore
@@ -0,0 +1 @@
+*.deb
diff --git a/teams/PKGBUILD b/teams/PKGBUILD
new file mode 100644
index 000000000..7e5d2ee87
--- /dev/null
+++ b/teams/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+# Contributor: "Amhairghin" Oscar Garcia Amor (https://ogarcia.me)
+
+pkgname=teams
+pkgver=1.4.00.13653
+pkgrel=1
+pkgdesc="Microsoft Teams for Linux is your chat-centered workspace in Office 365"
+arch=('x86_64')
+url="https://teams.microsoft.com/downloads"
+license=('custom')
+depends=("gtk3" "libxss" "alsa-lib" "libxtst" "libsecret" "nss" "glibc>=2.28-4")
+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")
+noextract=("${pkgname}_${pkgver}_amd64.deb")
+sha256sums=('5b4217fab3df145b1a37c53d138d87713786f290805a90fc276434770692a4cf')
+
+package() {
+ bsdtar -O -xf "${pkgname}_${pkgver}_amd64.deb" data.tar.xz | bsdtar -C "${pkgdir}" -xJf -
+
+ # Permissions fix
+ find "${pkgdir}" -type d -exec chmod 755 {} \;
+
+ # Move license
+ install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
+ mv "${pkgdir}/usr/share/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}"
+ ln -s "/usr/share/licenses/${pkgname}/LICENSE" "${pkgdir}/usr/share/${pkgname}/LICENSE"
+}