Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a88a108158 |
@@ -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.198
|
pkgver = 2.1.160
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/anthropics/claude-code
|
url = https://github.com/anthropics/claude-code
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
@@ -17,9 +17,9 @@ pkgbase = claude-code
|
|||||||
options = !strip
|
options = !strip
|
||||||
source = cc-legal::https://code.claude.com/docs/en/legal-and-compliance.md
|
source = cc-legal::https://code.claude.com/docs/en/legal-and-compliance.md
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
source_x86_64 = claude-2.1.198-x86_64::https://downloads.claude.ai/claude-code-releases/2.1.198/linux-x64/claude
|
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 = 7066af42a5fe93038c13af5072d4c034dc3928092cb121fdd892c76b94b6b84d
|
sha256sums_x86_64 = 2b84cc2e04633619eab02b9f77ed00a56b64682b4fa7b3267149ee9eb1fecfc7
|
||||||
source_aarch64 = claude-2.1.198-aarch64::https://downloads.claude.ai/claude-code-releases/2.1.198/linux-arm64/claude
|
source_aarch64 = claude-2.1.160-aarch64::https://downloads.claude.ai/claude-code-releases/2.1.160/linux-arm64/claude
|
||||||
sha256sums_aarch64 = 99b50a6f2b1f3ef07bcaf1e58a2f9883c470c84e428afa321972b1aa20372e9a
|
sha256sums_aarch64 = 1fcf285194a0ea0c5e09973c4c5910f71c5abf451930f0b9c79441d7501ac229
|
||||||
|
|
||||||
pkgname = claude-code
|
pkgname = claude-code
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
# Automation repository: https://github.com/fabifont/claude-code-aur
|
# Automation repository: https://github.com/fabifont/claude-code-aur
|
||||||
|
|
||||||
pkgname=claude-code
|
pkgname=claude-code
|
||||||
pkgver=2.1.198
|
pkgver=2.1.160
|
||||||
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')
|
||||||
@@ -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")
|
source_aarch64=("claude-${pkgver}-aarch64::https://downloads.claude.ai/claude-code-releases/${pkgver}/linux-arm64/claude")
|
||||||
|
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
sha256sums_x86_64=('7066af42a5fe93038c13af5072d4c034dc3928092cb121fdd892c76b94b6b84d')
|
sha256sums_x86_64=('2b84cc2e04633619eab02b9f77ed00a56b64682b4fa7b3267149ee9eb1fecfc7')
|
||||||
sha256sums_aarch64=('99b50a6f2b1f3ef07bcaf1e58a2f9883c470c84e428afa321972b1aa20372e9a')
|
sha256sums_aarch64=('1fcf285194a0ea0c5e09973c4c5910f71c5abf451930f0b9c79441d7501ac229')
|
||||||
|
|
||||||
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 to disable upstream update paths, and to suppress the
|
# Create wrapper script to disable upstream update paths
|
||||||
# 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".
|
|
||||||
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
|
||||||
export DISABLE_UPDATES=1
|
export DISABLE_UPDATES=1
|
||||||
export DISABLE_INSTALLATION_CHECKS=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"
|
||||||
|
|||||||
Reference in New Issue
Block a user