Compare commits
53 Commits
adc6b16f26
...
9928728541
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9928728541 | ||
|
|
ca416de6a1 | ||
|
|
3126049cb5 | ||
|
|
0d9aadcb69 | ||
|
|
5bbfa8a6c3 | ||
|
|
22b95c96f7 | ||
|
|
1781f3e6b5 | ||
|
|
3331a37c8e | ||
|
|
792b3fac97 | ||
|
|
821f57194c | ||
|
|
3e4dadebe7 | ||
|
|
7fd2eec62b | ||
|
|
dc65314972 | ||
|
|
4e0de65619 | ||
|
|
8b49edf019 | ||
|
|
2801bbc139 | ||
|
|
f784dc0ad2 | ||
|
|
5e105e4933 | ||
|
|
303c24497f | ||
|
|
b2c8835a73 | ||
|
|
a05752f42c | ||
|
|
8a43ff4265 | ||
|
|
de6422592d | ||
|
|
5a0b607f20 | ||
|
|
0158d785ed | ||
|
|
9da61f7a65 | ||
|
|
f5fa6f1bc5 | ||
|
|
e025d5df91 | ||
|
|
8e4e33f722 | ||
|
|
ab3094682f | ||
|
|
d871faec8b | ||
|
|
730a44b2ce | ||
|
|
5189c6d05d | ||
|
|
2963fb65b7 | ||
|
|
e10369665a | ||
|
|
2a8471551b | ||
|
|
cdc4631f67 | ||
|
|
b58e0b0ac1 | ||
|
|
3de8fe2c60 | ||
|
|
fd6db27ce1 | ||
|
|
3069d682d4 | ||
|
|
09c58b8229 | ||
|
|
92f162601b | ||
|
|
5a688f2152 | ||
|
|
59e6a85920 | ||
|
|
d36f6ece33 | ||
|
|
822203482a | ||
|
|
fcda782bc9 | ||
|
|
b9b96469f2 | ||
|
|
0c617b3520 | ||
|
|
9b79da5c9b | ||
|
|
9998c135d3 | ||
|
|
57881b0dd8 |
17
.SRCINFO
17
.SRCINFO
@@ -1,6 +1,6 @@
|
|||||||
pkgbase = claude-code
|
pkgbase = claude-code
|
||||||
pkgdesc = An agentic coding tool that lives in your terminal
|
pkgdesc = An agentic coding tool that lives in your terminal
|
||||||
pkgver = 2.1.27
|
pkgver = 2.1.86
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/anthropics/claude-code
|
url = https://github.com/anthropics/claude-code
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
@@ -11,12 +11,15 @@ pkgbase = claude-code
|
|||||||
optdepends = github-cli: interact with GitHub
|
optdepends = github-cli: interact with GitHub
|
||||||
optdepends = glab: interact with GitLab
|
optdepends = glab: interact with GitLab
|
||||||
optdepends = ripgrep: enhanced file search
|
optdepends = ripgrep: enhanced file search
|
||||||
|
optdepends = tmux: agent team split panes
|
||||||
|
optdepends = bubblewrap: sandboxing
|
||||||
|
optdepends = socat: sandboxing
|
||||||
options = !strip
|
options = !strip
|
||||||
source = LICENSE::https://raw.githubusercontent.com/anthropics/claude-code/refs/heads/main/LICENSE.md
|
source = cc-legal-20260313::https://code.claude.com/docs/en/legal-and-compliance.md
|
||||||
sha256sums = 728158fd1037143fad6907e8fa34804177e598b7326519503fe83cafdef849e6
|
sha256sums = 1e34536633a1b259f36724aa11bd73e6675c1fe3a5072ce57383558278611cba
|
||||||
source_x86_64 = claude-2.1.27-x86_64::https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/2.1.27/linux-x64/claude
|
source_x86_64 = claude-2.1.86-x86_64::https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/2.1.86/linux-x64/claude
|
||||||
sha256sums_x86_64 = 24df91dd250b6d7f6a0f8b256affab6c7a4bdefa64b1ece8aca3235d5f5e4044
|
sha256sums_x86_64 = adce02c5f94a85b6ca231c8aeef533707597cd387e8934776455b87d10a3051b
|
||||||
source_aarch64 = claude-2.1.27-aarch64::https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/2.1.27/linux-arm64/claude
|
source_aarch64 = claude-2.1.86-aarch64::https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/2.1.86/linux-arm64/claude
|
||||||
sha256sums_aarch64 = 6166a8eeb82eba410b96030ab4b1330a27c28bdbdc4e313db45e5bfcc25d1e66
|
sha256sums_aarch64 = c04aebe3de140679b4cce158812d6f011b7e9c483496ccb0472cf38cc1714afe
|
||||||
|
|
||||||
pkgname = claude-code
|
pkgname = claude-code
|
||||||
|
|||||||
15
.gitea/workflows/build.yml
Normal file
15
.gitea/workflows/build.yml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
name: Build package
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-package:
|
||||||
|
runs-on: pkgbuilder
|
||||||
|
env:
|
||||||
|
steps:
|
||||||
|
- name: Build and push package
|
||||||
|
uses: https://gitea.konchin.com/action/archbuild@main
|
||||||
|
with:
|
||||||
|
minio-accesskey: ${{ secrets.MINIO_ACCESSKEY }}
|
||||||
|
minio-secretkey: ${{ secrets.MINIO_SECRETKEY }}
|
||||||
|
gpg-password: ${{ secrets.GPG_PASSWORD }}
|
||||||
|
gpg-keygrip: ${{ secrets.GPG_KEYGRIP }}
|
||||||
21
PKGBUILD
21
PKGBUILD
@@ -1,7 +1,7 @@
|
|||||||
# Maintainer: Christopher Cooper <christopher@cg505.com>
|
# Maintainer: Christopher Cooper <christopher@cg505.com>
|
||||||
# Maintainer: Jérôme Poulin <jeromepoulin@gmail.com>
|
# Maintainer: Jérôme Poulin <jeromepoulin@gmail.com>
|
||||||
pkgname=claude-code
|
pkgname=claude-code
|
||||||
pkgver=2.1.27
|
pkgver=2.1.86
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="An agentic coding tool that lives in your terminal"
|
pkgdesc="An agentic coding tool that lives in your terminal"
|
||||||
arch=('x86_64' 'aarch64')
|
arch=('x86_64' 'aarch64')
|
||||||
@@ -15,33 +15,34 @@ optdepends=(
|
|||||||
'github-cli: interact with GitHub'
|
'github-cli: interact with GitHub'
|
||||||
'glab: interact with GitLab'
|
'glab: interact with GitLab'
|
||||||
'ripgrep: enhanced file search'
|
'ripgrep: enhanced file search'
|
||||||
|
'tmux: agent team split panes'
|
||||||
|
'bubblewrap: sandboxing'
|
||||||
|
'socat: sandboxing'
|
||||||
)
|
)
|
||||||
|
|
||||||
# This bucket is used in the official install script at https://claude.ai/install.sh
|
# This bucket is used in the official install script at https://claude.ai/install.sh
|
||||||
# curl -fsSL https://claude.ai/install.sh | grep GCS_BUCKET
|
# curl -fsSL https://claude.ai/install.sh | grep GCS_BUCKET
|
||||||
_gcs_bucket="https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases"
|
_gcs_bucket="https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases"
|
||||||
source=("LICENSE::https://raw.githubusercontent.com/anthropics/claude-code/refs/heads/main/LICENSE.md")
|
_license_update_ts=20260313
|
||||||
|
source=("cc-legal-${_license_update_ts}::https://code.claude.com/docs/en/legal-and-compliance.md")
|
||||||
source_x86_64=("claude-${pkgver}-x86_64::${_gcs_bucket}/${pkgver}/linux-x64/claude")
|
source_x86_64=("claude-${pkgver}-x86_64::${_gcs_bucket}/${pkgver}/linux-x64/claude")
|
||||||
source_aarch64=("claude-${pkgver}-aarch64::${_gcs_bucket}/${pkgver}/linux-arm64/claude")
|
source_aarch64=("claude-${pkgver}-aarch64::${_gcs_bucket}/${pkgver}/linux-arm64/claude")
|
||||||
|
|
||||||
sha256sums=('728158fd1037143fad6907e8fa34804177e598b7326519503fe83cafdef849e6')
|
sha256sums=('1e34536633a1b259f36724aa11bd73e6675c1fe3a5072ce57383558278611cba')
|
||||||
sha256sums_x86_64=('24df91dd250b6d7f6a0f8b256affab6c7a4bdefa64b1ece8aca3235d5f5e4044')
|
sha256sums_x86_64=('adce02c5f94a85b6ca231c8aeef533707597cd387e8934776455b87d10a3051b')
|
||||||
sha256sums_aarch64=('6166a8eeb82eba410b96030ab4b1330a27c28bdbdc4e313db45e5bfcc25d1e66')
|
sha256sums_aarch64=('c04aebe3de140679b4cce158812d6f011b7e9c483496ccb0472cf38cc1714afe')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -Dm755 "${srcdir}/claude-${pkgver}-${CARCH}" "${pkgdir}/opt/claude-code/bin/claude"
|
install -Dm755 "${srcdir}/claude-${pkgver}-${CARCH}" "${pkgdir}/opt/claude-code/bin/claude"
|
||||||
|
|
||||||
# Create wrapper script that sets NPM_CONFIG_PREFIX to avoid false npm detection
|
# Create wrapper script to disable autoupdater
|
||||||
install -dm755 "${pkgdir}/usr/bin"
|
install -dm755 "${pkgdir}/usr/bin"
|
||||||
cat > "${pkgdir}/usr/bin/claude" << 'EOF'
|
cat > "${pkgdir}/usr/bin/claude" << 'EOF'
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Wrapper to prevent claude from detecting /usr/bin/claude as npm-global installation
|
|
||||||
export NPM_CONFIG_PREFIX="${NPM_CONFIG_PREFIX:-/nonexistent}"
|
|
||||||
# Disable autoupdater
|
|
||||||
export DISABLE_AUTOUPDATER=1
|
export DISABLE_AUTOUPDATER=1
|
||||||
exec /opt/claude-code/bin/claude "$@"
|
exec /opt/claude-code/bin/claude "$@"
|
||||||
EOF
|
EOF
|
||||||
chmod 755 "${pkgdir}/usr/bin/claude"
|
chmod 755 "${pkgdir}/usr/bin/claude"
|
||||||
|
|
||||||
install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
install -Dm644 "${srcdir}/cc-legal-${_license_update_ts}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user