chore: sync AUR packages (shared)

This commit is contained in:
github-actions[bot] committed 2026-05-04 02:05:40 +00:00
1 parent e4f88ddeb2
commit 6b260ca55d
4 files changed
+15 -11

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
pkgbase = claude-code
pkgdesc = An agentic coding tool that lives in your terminal
pkgver = 2.1.126
pkgrel = 2
pkgrel = 3
url = https://github.com/anthropics/claude-code
arch = x86_64
arch = aarch64
+7 -3
View File
@@ -1,8 +1,11 @@
# Maintainer: Christopher Cooper <christopher@cg505.com>
# Maintainer: Jérôme Poulin <jeromepoulin@gmail.com>
# Maintainer: Fabio Fontana (fabifont) <me@fabifont.dev>
# Automation repository: https://github.com/fabifont/claude-code-aur
pkgname=claude-code
pkgver=2.1.126
pkgrel=2
pkgrel=3
pkgdesc="An agentic coding tool that lives in your terminal"
arch=('x86_64' 'aarch64')
url="https://github.com/anthropics/claude-code"
@@ -10,6 +13,7 @@ license=('LicenseRef-claude-code')
depends=('bash')
# Binary is a self-contained Bun executable with embedded JS/resources - stripping breaks it
options=('!strip')
optdepends=(
'git: allow Claude to use git'
'github-cli: interact with GitHub'
@@ -31,11 +35,11 @@ sha256sums_aarch64=('88a6dca613a40559f3bac8a946a2ec6e60a870b91938d3df93dcac1dec4
package() {
install -Dm755 "${srcdir}/claude-${pkgver}-${CARCH}" "${pkgdir}/opt/claude-code/bin/claude"
# Create wrapper script to disable autoupdater
# Create wrapper script to disable upstream update paths
install -dm755 "${pkgdir}/usr/bin"
cat > "${pkgdir}/usr/bin/claude" << 'EOF'
#!/bin/sh
export DISABLE_AUTOUPDATER=1
export DISABLE_UPDATES=1
exec /opt/claude-code/bin/claude "$@"
EOF
chmod 755 "${pkgdir}/usr/bin/claude"