x11-terms/ghostty: add missing depend dev-libs/oniguruma
[gentoo-zh.git] / dev-util / mongodb-compass-bin / mongodb-compass-bin-1.45.0-r1.ebuild
blobd8e4bed9a1cebe4dca86b4b215e11c2ea68d1aee
1 # Distributed under the terms of the GNU General Public License v2
3 EAPI=8
5 inherit desktop unpacker xdg
7 DESCRIPTION="The GUI for MongoDB"
8 HOMEPAGE="https://mongodb.com/compass https://github.com/mongodb-js/compass"
9 SRC_URI="https://downloads.mongodb.com/compass/mongodb-compass_${PV}_amd64.deb"
11 S="${WORKDIR}"
12 LICENSE="SSPL-1"
13 SLOT="0"
14 KEYWORDS="~amd64"
16 RESTRICT="strip"
18 src_install() {
19 default
21 insinto /usr/lib/mongodb-compass
22 doins -r usr/lib/mongodb-compass/.
24 # domenu usr/share/applications/mongodb-compass.desktop
25 domenu "${FILESDIR}"/mongodb-compass-bin.desktop
26 doicon usr/share/pixmaps/mongodb-compass.png
28 fperms +x "/usr/lib/mongodb-compass/MongoDB Compass"
29 fperms 4755 /usr/lib/mongodb-compass/chrome-sandbox
30 fperms 4755 /usr/lib/mongodb-compass/chrome_crashpad_handler
32 # Included binary doesn't work, make a symlink instead
33 rm usr/bin/mongodb-compass || die
34 dosym "../lib/mongodb-compass/MongoDB Compass" "usr/bin/mongodb-compass"