commit:     8b85734403cd32dfee4d174014da3baac8cac35f
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  9 08:20:49 2026 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Mar  9 08:20:49 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b857344

dev-util/cursor-agent: add 2026.02.27

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-util/cursor-agent/Manifest                     |  2 ++
 .../cursor-agent/cursor-agent-2026.02.27.ebuild    | 37 ++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/dev-util/cursor-agent/Manifest b/dev-util/cursor-agent/Manifest
index 06014a6d28ff..a2cb55867d05 100644
--- a/dev-util/cursor-agent/Manifest
+++ b/dev-util/cursor-agent/Manifest
@@ -1,2 +1,4 @@
 DIST cursor-agent-2026.01.23-arm64.tar.gz 56714652 BLAKE2B 
16155ed5081ae080345bfccc738b26ca9ca80aa65e7bdb9913ef76a9b0ab04f2035c8566f19f64d2a58834c1dc45e8247fb378aa2d52ffab33ee42daff813993
 SHA512 
b821a1042b25f1f57754bfff64944e0b957bc4df5f0cac86cd0598243a2ec251896f7d9ac4095d61a81eca51fcc1660e7a6e98af451309ea8b1b3e189effdcc2
 DIST cursor-agent-2026.01.23-x64.tar.gz 57612361 BLAKE2B 
b055171a73fae8e97ef4c4ebc5ecfe95a2b3170eeda3ba4c8194158419eef4020afdad896abaee4d160d7c7a17ff49ca208c8bb4867ee9172381fe127a406fed
 SHA512 
da66ffde6f4cedc38ad3f1284afeea7c3b5eafb4fc86601aa4e57d2443e10021c76d676aae8c106dc47304d9e6c06373d144785b5cc4ed3bdc60aa6890ae8110
+DIST cursor-agent-2026.02.27-arm64.tar.gz 56149513 BLAKE2B 
6f000e897bdb1d63d90ca3851cf08ad3f97e753389cd933cf1dde04f97f79078c1520e83bd4c437ea19dbda54c2ee62ee8ffac652ca4f47c5c08e85fdef42d8f
 SHA512 
cfe12c82bdec6c9018d615abcebfe9acaa112f539395a1de4c94aebf31c89fa38ad24d88de8b84c83b8d62e188d8b5d644be64d6dd9c3bf2fb7884ac91df0a23
+DIST cursor-agent-2026.02.27-x64.tar.gz 56875551 BLAKE2B 
a677bdbe57cecfe9d74db62678ae63641f1424cf31e4d0e2bc4f714127ccba842af259cb90a02bcd488d3476b43603c28ad48ff8b98fd43add7012f830aaa03e
 SHA512 
f34a8f48348d34ab8e367921e76790d076b53abb6886440375742d3bfbcbaa3029d8599682788a591caff77c7203eb49fc2034d58469e046f4f42cc620185260

diff --git a/dev-util/cursor-agent/cursor-agent-2026.02.27.ebuild 
b/dev-util/cursor-agent/cursor-agent-2026.02.27.ebuild
new file mode 100644
index 000000000000..b45c794d77c8
--- /dev/null
+++ b/dev-util/cursor-agent/cursor-agent-2026.02.27.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV="${PV}-e7d2ef6"
+
+DESCRIPTION="Cursor CLI - interact with AI agents directly from your terminal"
+HOMEPAGE="https://docs.cursor.com/en/cli";
+SRC_URI="
+       amd64? ( 
https://downloads.cursor.com/lab/${MY_PV}/linux/x64/agent-cli-package.tar.gz -> 
${P}-x64.tar.gz )
+       arm64? ( 
https://downloads.cursor.com/lab/${MY_PV}/linux/arm64/agent-cli-package.tar.gz 
-> ${P}-arm64.tar.gz )
+"
+S="${WORKDIR}"/dist-package
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm64"
+RESTRICT="bindist mirror strip"
+
+RDEPEND="
+       net-libs/nodejs
+       sys-apps/ripgrep
+"
+
+QA_PREBUILT="opt/cursor-agent/*"
+
+src_install() {
+       rm -rf rg node || die
+       sed -i 's|NODE_BIN="$SCRIPT_DIR/node"|NODE_BIN="node"|' cursor-agent || 
die
+
+       insinto /opt/${PN}
+       doins -r .
+       fperms +x /opt/${PN}/{${PN},cursorsandbox}
+
+       dosym ../${PN}/${PN} /opt/bin/${PN}
+}

Reply via email to