From 2dc8e42155ae1070b3945585089ba0368189528d Mon Sep 17 00:00:00 2001 From: Jason Manley Date: Wed, 29 Jul 2020 22:53:35 -0500 Subject: [PATCH] New package: teams-1.3.00.16851 --- srcpkgs/teams/template | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/teams/template diff --git a/srcpkgs/teams/template b/srcpkgs/teams/template new file mode 100644 index 00000000000..a3204a7262b --- /dev/null +++ b/srcpkgs/teams/template @@ -0,0 +1,32 @@ +# Template file for 'teams' +pkgname=teams +version=1.3.00.16851 +revision=1 +archs="x86_64" +#build_style=fetch +# depends = libasound2 (>= 1.0.16), libatk-bridge2.0-0 (>= 2.5.3), libatk1.0-0 (>= 1.12.4), libc6 (>= 2.17), libcairo2 (>= 1.10.0), libcups2 (>= 1.4.0), libexpat1 (>= 2.0.1), libgcc1 (>= 1:3.0), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.35.8), libgtk-3-0 (>= 3.10.0), libnspr4 (>= 2:4.9-2~), libnss3 (>= 2:3.22), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libuuid1 (>= 2.16), libx11-6 (>= 2:1.4.99.1), libx11-xcb1, libxcb1 (>= 1.6), libxcomposite1 (>= 1:0.3-1), libxcursor1 (>> 1.1.2), libxdamage1 (>= 1:1.1), libxext6, libxfixes3, libxi6 (>= 2:1.2.99.4), libxrandr2 (>= 2:1.2.99.3), libxrender1, libxss1, libxtst6, apt-transport-https, libfontconfig1 (>= 2.11.0), libdbus-1-3 (>= 1.6.18), libstdc++6 (>= 4.8.1) +depends="libsndfile alsa-lib atk glibc cairo libcups expat libgcc gdk-pixbuf glib gtk+3 nspr nss pango libuuid libX11 libxcb libXcomposite libXcursor libXdamage libXext libXfixes libXrender libXt libXtst fontconfig dbus libstdc++" +short_desc="Microsoft Teams client for Linux" +maintainer="Jason Manley " +license="custom:Microsoft" +homepage="https://www.microsoft.com/teams" +# way to get around this usage of amd64 vs x86_64 ? symlink amd64.sh in common/cross-profiles ? +distfiles="https://packages.microsoft.com/repos/ms-teams/pool/main/t/${pkgname}/${pkgname}_${version}_amd64.deb" +checksum=23838c8f8dea4960dce8bba559cd7ee3cdedc78ea7fdb226139b5b2204eee4d6 +repository=nonfree +restricted=yes +nostrip=yes + +do_extract() { + ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}_${version}_amd64.deb + bsdtar -xf data.tar.xz +} + +do_install() { + #vmkdir usr/share usr/bin + vbin usr/bin/teams 755 usr/bin/teams + vcopy usr/share/teams usr/share/ + vinstall usr/share/applications/teams.desktop 644 usr/share/applications + vinstall usr/share/pixmaps/teams.png 644 usr/share/pixmaps + vlicense usr/share/teams/LICENSE +}