Compare commits
1 Commits
main
..
a88a108158
| Author | SHA1 | Date | |
|---|---|---|---|
| a88a108158 |
@@ -1,6 +1,6 @@
|
||||
pkgbase = claude-code
|
||||
pkgdesc = An agentic coding tool that lives in your terminal
|
||||
pkgver = 2.1.220
|
||||
pkgver = 2.1.160
|
||||
pkgrel = 1
|
||||
url = https://github.com/anthropics/claude-code
|
||||
arch = x86_64
|
||||
@@ -17,9 +17,9 @@ pkgbase = claude-code
|
||||
options = !strip
|
||||
source = cc-legal::https://code.claude.com/docs/en/legal-and-compliance.md
|
||||
sha256sums = SKIP
|
||||
source_x86_64 = claude-2.1.220-x86_64::https://downloads.claude.ai/claude-code-releases/2.1.220/linux-x64/claude
|
||||
sha256sums_x86_64 = 674f61f20ff306f3100cf9200e4c36c4b70278b5bef2884549819b942a89c863
|
||||
source_aarch64 = claude-2.1.220-aarch64::https://downloads.claude.ai/claude-code-releases/2.1.220/linux-arm64/claude
|
||||
sha256sums_aarch64 = 159e4a51d796f3bf14677577100f7efb845611b1ceaf0c30cbd8d4650d942185
|
||||
source_x86_64 = claude-2.1.160-x86_64::https://downloads.claude.ai/claude-code-releases/2.1.160/linux-x64/claude
|
||||
sha256sums_x86_64 = 2b84cc2e04633619eab02b9f77ed00a56b64682b4fa7b3267149ee9eb1fecfc7
|
||||
source_aarch64 = claude-2.1.160-aarch64::https://downloads.claude.ai/claude-code-releases/2.1.160/linux-arm64/claude
|
||||
sha256sums_aarch64 = 1fcf285194a0ea0c5e09973c4c5910f71c5abf451930f0b9c79441d7501ac229
|
||||
|
||||
pkgname = claude-code
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
# Automation repository: https://github.com/fabifont/claude-code-aur
|
||||
|
||||
pkgname=claude-code
|
||||
pkgver=2.1.220
|
||||
pkgver=2.1.160
|
||||
pkgrel=1
|
||||
pkgdesc="An agentic coding tool that lives in your terminal"
|
||||
arch=('x86_64' 'aarch64')
|
||||
@@ -29,21 +29,17 @@ source_x86_64=("claude-${pkgver}-x86_64::https://downloads.claude.ai/claude-code
|
||||
source_aarch64=("claude-${pkgver}-aarch64::https://downloads.claude.ai/claude-code-releases/${pkgver}/linux-arm64/claude")
|
||||
|
||||
sha256sums=('SKIP')
|
||||
sha256sums_x86_64=('674f61f20ff306f3100cf9200e4c36c4b70278b5bef2884549819b942a89c863')
|
||||
sha256sums_aarch64=('159e4a51d796f3bf14677577100f7efb845611b1ceaf0c30cbd8d4650d942185')
|
||||
sha256sums_x86_64=('2b84cc2e04633619eab02b9f77ed00a56b64682b4fa7b3267149ee9eb1fecfc7')
|
||||
sha256sums_aarch64=('1fcf285194a0ea0c5e09973c4c5910f71c5abf451930f0b9c79441d7501ac229')
|
||||
|
||||
package() {
|
||||
install -Dm755 "${srcdir}/claude-${pkgver}-${CARCH}" "${pkgdir}/opt/claude-code/bin/claude"
|
||||
|
||||
# Create wrapper script to disable upstream update paths, and to suppress the
|
||||
# native-install health check. Claude Code expects the native installer layout
|
||||
# (~/.local/bin/claude); since we install to /opt + /usr/bin it would otherwise
|
||||
# warn on every startup: "claude command at ~/.local/bin/claude missing or broken".
|
||||
# Create wrapper script to disable upstream update paths
|
||||
install -dm755 "${pkgdir}/usr/bin"
|
||||
cat > "${pkgdir}/usr/bin/claude" << 'EOF'
|
||||
#!/bin/sh
|
||||
export DISABLE_UPDATES=1
|
||||
export DISABLE_INSTALLATION_CHECKS=1
|
||||
exec /opt/claude-code/bin/claude "$@"
|
||||
EOF
|
||||
chmod 755 "${pkgdir}/usr/bin/claude"
|
||||
|
||||
Reference in New Issue
Block a user