This repository has been archived by the owner on Nov 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #596 from shnups/mongosh-bin-2.1.0
New ebuild for mongosh-bin-2.1.0
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Copyright 1999-2023 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
inherit unpacker | ||
|
||
MY_PN="${PN/-bin}" | ||
|
||
DESCRIPTION="A shell for MongoDB data plateform with a modern user experience" | ||
HOMEPAGE="https://github.com/mongodb-js/mongosh" | ||
SRC_URI="https://github.com/mongodb-js/mongosh/releases/download/v${PV}/mongodb-${MY_PN}_${PV}_amd64.deb" | ||
|
||
LICENSE="Apache-2.0" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
|
||
RESTRICT="mirror strip" | ||
S="${WORKDIR}" | ||
|
||
src_unpack() { | ||
unpack_deb ${A} | ||
} | ||
|
||
src_install() { | ||
dobin "${S}/usr/bin/${MY_PN}" | ||
} |