Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
c6da71c9
Commit
c6da71c9
authored
Dec 17, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add claude-code
parent
9bf796e8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
84 additions
and
0 deletions
+84
-0
claude-code.sh
pack.d/claude-code.sh
+28
-0
claude-code.sh
play.d/claude-code.sh
+42
-0
claude-code.sh
repack.d/claude-code.sh
+14
-0
No files found.
pack.d/claude-code.sh
0 → 100755
View file @
c6da71c9
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
VERSION
=
"
$3
"
.
$(
dirname
$0
)
/common.sh
PRODUCTDIR
=
opt/claude.ai
install
-D
-m755
$TAR
$PRODUCTDIR
/claude
||
fatal
[
-n
"
$VERSION
"
]
||
fatal
"can't pack with empty VERSION"
PKGNAME
=
$PRODUCT
-
$VERSION
erc pack
$PKGNAME
.tar
$PRODUCTDIR
cat
<<
EOF
>
$PKGNAME
.tar.eepm.yaml
name:
$PRODUCT
version:
$VERSION
group: Networking/Instant messaging
license: Proprietary
url: https://claude.ai/
summary: Claude is a next generation AI assistant
description: Claude is a next generation AI assistant built by Anthropic
EOF
return_tar
$PKGNAME
.tar
play.d/claude-code.sh
0 → 100755
View file @
c6da71c9
#!/bin/sh
PKGNAME
=
claude-code
SUPPORTEDARCHES
=
"x86_64 aarch64"
VERSION
=
"
$2
"
DESCRIPTION
=
"Claude is a next generation AI assistant built by Anthropic"
URL
=
"https://claude.ai/"
.
$(
dirname
$0
)
/common.sh
arch
=
"
$(
epm print info
-a
)
"
case
"
$arch
"
in
x86_64
)
arch
=
x64
;;
aarch64
)
arch
=
arm64
;;
esac
# TODO: Darwin support
os
=
"linux"
platform
=
"
${
os
}
-
${
arch
}
"
#GCS_BUCKET="https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases"
GCS_BUCKET
=
"
$(
fetch_url
-O-
https://claude.ai/install.sh |
grep
"^GCS_BUCKET="
|
sed
-e
's|^GCS_BUCKET=||'
-e
's|^"||'
-e
's|"$||'
)
"
[
-n
"
$GCS_BUCKET
"
]
||
fatal
"Can't download https://claude.ai/install.sh"
if
[
"
$VERSION
"
=
"*"
]
;
then
VERSION
=
"
$(
fetch_url
-O-
"
$GCS_BUCKET
/stable"
)
"
||
fatal
"Can't get version from
$GCS_BUCKET
/stable"
[
-n
"
$VERSION
"
]
||
fatal
"Got empty version from
$GCS_BUCKET
/stable"
fi
# ["platforms","linux-x64","checksum"]
checksum
=
"
$(
get_json_value
"
$GCS_BUCKET
/
$VERSION
/manifest.json"
'["platforms","'
$platform
'","checksum"]'
)
"
||
fatal
"Can't get checksum"
PKGURL
=
"
$GCS_BUCKET
/
$VERSION
/
$platform
/claude"
# TODO: compare checksum
install_pack_pkgurl
$VERSION
$checksum
repack.d/claude-code.sh
0 → 100755
View file @
c6da71c9
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
claude
PRODUCTDIR
=
/opt/claude.ai
.
$(
dirname
$0
)
/common.sh
add_bin_link_command
add_libs_requires
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment