From 2e4133b772a18da804f2790a29c5a6473a9acf17 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 30 Jun 2021 20:25:48 +0200 Subject: teams neu --- teams/.gitignore | 1 + teams/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 teams/.gitignore create mode 100644 teams/PKGBUILD (limited to 'teams') 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 +# 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" +} -- cgit v1.2.3-54-g00ecf