View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v3
EAPI=8
inherit desktop unpacker xdg
DESCRIPTION="Private and secure open-source messenger - no user IDs (not even random numbers)"
HOMEPAGE="https://simplex.chat/"
UBUNTU_RELEASE="24.04"
SRC_URI="https://github.com/simplex-chat/simplex-chat/releases/download/v${PV}/${PN%-bin}-ubuntu-${UBUNTU_RELEASE//./_}-x86_64.deb -> ${P}.deb"
S="${WORKDIR}"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="-* amd64"
RESTRICT="mirror"
QA_PREBUILT="*"
src_install() {
newicon opt/simplex/lib/simplex.png simplex-desktop.png
rm -f opt/simplex/lib/simplex-simplex.desktop opt/simplex/lib/simplex.png
domenu "${FILESDIR}/simplex-desktop.desktop"
insinto /opt
doins -r opt/simplex
fperms +x /opt/simplex/bin/simplex
dosym ../../opt/simplex/bin/simplex /usr/bin/simplex-desktop
}