Compare commits

..

1 Commits

Author SHA1 Message Date
Yi-Ting Shih a88a108158 Feat: add build ci
Build package / build-package (push) Successful in 50s
2026-06-02 13:07:53 +08:00
2 changed files with 9 additions and 13 deletions
+5 -5
View File
@@ -1,6 +1,6 @@
pkgbase = claude-code
pkgdesc = An agentic coding tool that lives in your terminal
pkgver = 2.1.198
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.198-x86_64::https://downloads.claude.ai/claude-code-releases/2.1.198/linux-x64/claude
sha256sums_x86_64 = 7066af42a5fe93038c13af5072d4c034dc3928092cb121fdd892c76b94b6b84d
source_aarch64 = claude-2.1.198-aarch64::https://downloads.claude.ai/claude-code-releases/2.1.198/linux-arm64/claude
sha256sums_aarch64 = 99b50a6f2b1f3ef07bcaf1e58a2f9883c470c84e428afa321972b1aa20372e9a
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 -8
View File
@@ -4,7 +4,7 @@
# Automation repository: https://github.com/fabifont/claude-code-aur
pkgname=claude-code
pkgver=2.1.198
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=('7066af42a5fe93038c13af5072d4c034dc3928092cb121fdd892c76b94b6b84d')
sha256sums_aarch64=('99b50a6f2b1f3ef07bcaf1e58a2f9883c470c84e428afa321972b1aa20372e9a')
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"