net-proxy/clash-verge-bin: add 1.3.7
[gentoo-zh.git] / dev-util / mongodb-compass-bin / mongodb-compass-bin-1.35.0.ebuild
blob944df1c5fa368b7dcfee8b568d03c1fedfbff958
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://github.com/mongodb-js/compass/releases/download/v${PV}/mongodb-compass_${PV}_amd64.deb"
11 LICENSE="SSPL-1"
12 SLOT="0"
13 KEYWORDS="~amd64"
14 IUSE=""
16 DEPEND=""
17 RDEPEND="${DEPEND}"
18 BDEPEND=""
20 S="${WORKDIR}"
22 src_install() {
23 default
25 insinto /usr/lib/mongodb-compass
26 doins -r usr/lib/mongodb-compass/.
28 domenu usr/share/applications/mongodb-compass.desktop
29 doicon usr/share/pixmaps/mongodb-compass.png
31 fperms +x "/usr/lib/mongodb-compass/MongoDB Compass"
32 fperms 4755 /usr/lib/mongodb-compass/chrome-sandbox
34 # Included binary doesn't work, make a symlink instead
35 rm usr/bin/mongodb-compass || die
36 dosym "../lib/mongodb-compass/MongoDB Compass" "usr/bin/mongodb-compass"