net-misc/teams: add ebuild

Package-Manager: Portage-2.3.84, Repoman-2.3.16
This commit is contained in:
Anton Schubert 2020-03-05 14:39:05 +01:00
parent 61dc567141
commit 235ac0a13a
3 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,33 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit unpacker desktop xdg
DESCRIPTION="Microsoft Teams"
HOMEPAGE="https://teams.microsoft.com"
SRC_URI="https://packages.microsoft.com/repos/ms-teams/pool/main/t/teams/${PN}_${PV}_amd64.deb"
LICENSE="Teams"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RESTRICT="strip"
S=${WORKDIR}
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
src_install() {
dobin usr/bin/teams
insinto /usr/share/teams/
cp -r usr/share/teams/* "${D}/usr/share/teams/"
insinto /usr/share/pixmaps
doins usr/share/pixmaps/teams.png
domenu usr/share/applications/teams.desktop
}