diff --git a/dev-util/mongodb-compass-bin/Manifest b/dev-util/mongodb-compass-bin/Manifest index 62b70fd..060030b 100644 --- a/dev-util/mongodb-compass-bin/Manifest +++ b/dev-util/mongodb-compass-bin/Manifest @@ -1 +1,2 @@ DIST mongodb-compass_1.40.0_amd64.deb 103756968 BLAKE2B e805bb7d4bace9c371d4fcb20895e729f0d4d8cd49335e8fedfbb3b29a05a5c507358d54172240f98f96a39d79765f358e4e0c3d100c7e769792fa62a2bc309f SHA512 b5efccd063eb7f748e46abb146b572f8e3e8816756e4e2d64f23bc7053c6585c4cc1a2a73414663144027cfbe4fc1c0c7b6dc8184e83c377d47fc8cef1c023a9 +DIST mongodb-compass_1.42.0_amd64.deb 108560612 BLAKE2B 166c42ee04d4fdff26e79dfe08bd739c1b9d943c729e97f4f6f87068d0d39c4b4908d9284ad0514efa25d06d7541cdb7694b52acf113801bd85df3e64af4cf4a SHA512 cc44f08609a271c816093501d73a2db0e6c688fd713a60f6f69f087d84a1e11ea68ad9f41e656967c23bb5271258806dee3fcea0f3ae2cb71ff5ab4170b8936d diff --git a/dev-util/mongodb-compass-bin/mongodb-compass-bin-1.42.0.ebuild b/dev-util/mongodb-compass-bin/mongodb-compass-bin-1.42.0.ebuild new file mode 100644 index 0000000..944df1c --- /dev/null +++ b/dev-util/mongodb-compass-bin/mongodb-compass-bin-1.42.0.ebuild @@ -0,0 +1,37 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop unpacker xdg + +DESCRIPTION="The GUI for MongoDB" +HOMEPAGE="https://mongodb.com/compass https://github.com/mongodb-js/compass" +SRC_URI="https://github.com/mongodb-js/compass/releases/download/v${PV}/mongodb-compass_${PV}_amd64.deb" + +LICENSE="SSPL-1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +S="${WORKDIR}" + +src_install() { + default + + insinto /usr/lib/mongodb-compass + doins -r usr/lib/mongodb-compass/. + + domenu usr/share/applications/mongodb-compass.desktop + doicon usr/share/pixmaps/mongodb-compass.png + + fperms +x "/usr/lib/mongodb-compass/MongoDB Compass" + fperms 4755 /usr/lib/mongodb-compass/chrome-sandbox + + # Included binary doesn't work, make a symlink instead + rm usr/bin/mongodb-compass || die + dosym "../lib/mongodb-compass/MongoDB Compass" "usr/bin/mongodb-compass" +}