aboutsummaryrefslogtreecommitdiff
blob: 231f984cba7198ef0469f8664c09e0810e1ca4d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit unpacker xdg-utils

DESCRIPTION="Screen sharing with multiplayer control, with voice"
HOMEPAGE="https://pop.com/home"
SRC_URI="https://download.pop.com/desktop-app/linux/${PV}/${PN}_${PV}_amd64.deb"

LICENSE="all-rights-reserved"
SLOT=0
RESTRICT="strip"
KEYWORDS="~amd64"

S="${WORKDIR}"

src_unpack() {
	unpack_deb ${A}
}

src_install() {
	# Because here is only one file: "copyright", no docs
	rm -rf usr/share/doc/ || die

	doins -r usr
	fperms +x /usr/bin/"${PN}"
}

pkg_postinst() {
	xdg_desktop_database_update

	einfo "If you want to share your screen - some compositor is required, like compton :("
}