Files
guru/net-im/pop/pop-8.0.21.ebuild
Vitaly Zdanevich 7b514ef26c net-im/pop: add || die
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
2024-03-09 07:17:00 +04:00

36 lines
730 B
Bash

# 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 :("
}