Compare commits
71
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a88a108158 | ||
|
|
6cbefbcbdf | ||
|
|
96b8fdda72 | ||
|
|
591491051a | ||
|
|
67421d4815 | ||
|
|
6c0b9bc173 | ||
|
|
ebd7688832 | ||
|
|
2a766b4bff | ||
|
|
3def3daa9f | ||
|
|
0c11c1957a | ||
|
|
715b45aad7 | ||
|
|
fec9dff0ef | ||
|
|
62cb083bc2 | ||
|
|
221ee20aed | ||
|
|
59a4bfdf6d | ||
|
|
57761170c0 | ||
|
|
8fb0172871 | ||
|
|
2c38ecf427 | ||
|
|
dcc51bc9ad | ||
|
|
73a7a9b98d | ||
|
|
b9f14262d2 | ||
|
|
83a07f198d | ||
|
|
06bb3551e3 | ||
|
|
255ec4785e | ||
|
|
763276e598 | ||
|
|
83d0108385 | ||
|
|
8c03385db0 | ||
|
|
4eda81f3c7 | ||
|
|
d662cfa6ed | ||
|
|
fd91f97901 | ||
|
|
e807742f0d | ||
|
|
5e0360b5b4 | ||
|
|
ba74cb630c | ||
|
|
f57a6206ab | ||
|
|
20209cc878 | ||
|
|
547593e2e9 | ||
|
|
48198f36bb | ||
|
|
f2cdc34cf9 | ||
|
|
272b680e0b | ||
|
|
542c547a53 | ||
|
|
1e74ff1b20 | ||
|
|
cd4132fedd | ||
|
|
fca3460f4e | ||
|
|
1d4b7715d1 | ||
|
|
1c5ef963be | ||
|
|
e8c05cd498 | ||
|
|
aab58388ec | ||
|
|
1ab13bde3e | ||
|
|
6b73ccb81b | ||
|
|
86e0f9dd05 | ||
|
|
2c5a0b60b1 | ||
|
|
5f210293f0 | ||
|
|
6f941b72a2 | ||
|
|
a35778c704 | ||
|
|
85dcca11ab | ||
|
|
33a5d83dca | ||
|
|
f9720ddab9 | ||
|
|
9ae1ece425 | ||
|
|
6425def203 | ||
|
|
96e7f83227 | ||
|
|
d2250dbf13 | ||
|
|
c06111b0b2 | ||
|
|
8a3a5e98ed | ||
|
|
11d2eb5d47 | ||
|
|
ad5d4030a2 | ||
|
|
b92a2e5bd5 | ||
|
|
51b9dea725 | ||
|
|
0c3481df1e | ||
|
|
bf22674724 | ||
|
|
0cd30db8bc | ||
|
|
aac9b92e0e |
No files matched your search
@@ -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.86
|
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
|
||||||
@@ -15,11 +15,11 @@ pkgbase = claude-code
|
|||||||
optdepends = bubblewrap: sandboxing
|
optdepends = bubblewrap: sandboxing
|
||||||
optdepends = socat: sandboxing
|
optdepends = socat: sandboxing
|
||||||
options = !strip
|
options = !strip
|
||||||
source = cc-legal-20260313::https://code.claude.com/docs/en/legal-and-compliance.md
|
source = cc-legal::https://code.claude.com/docs/en/legal-and-compliance.md
|
||||||
sha256sums = 1e34536633a1b259f36724aa11bd73e6675c1fe3a5072ce57383558278611cba
|
sha256sums = SKIP
|
||||||
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
|
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 = adce02c5f94a85b6ca231c8aeef533707597cd387e8934776455b87d10a3051b
|
sha256sums_x86_64 = 2b84cc2e04633619eab02b9f77ed00a56b64682b4fa7b3267149ee9eb1fecfc7
|
||||||
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
|
source_aarch64 = claude-2.1.160-aarch64::https://downloads.claude.ai/claude-code-releases/2.1.160/linux-arm64/claude
|
||||||
sha256sums_aarch64 = c04aebe3de140679b4cce158812d6f011b7e9c483496ccb0472cf38cc1714afe
|
sha256sums_aarch64 = 1fcf285194a0ea0c5e09973c4c5910f71c5abf451930f0b9c79441d7501ac229
|
||||||
|
|
||||||
pkgname = claude-code
|
pkgname = claude-code
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
[claude-code]
|
[claude-code]
|
||||||
source = "regex"
|
source = "regex"
|
||||||
url = "https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest"
|
url = "https://downloads.claude.ai/claude-code-releases/latest"
|
||||||
regex = ".+"
|
regex = ".+"
|
||||||
@@ -1,7 +1,10 @@
|
|||||||
# Maintainer: Christopher Cooper <[email protected]>
|
# Maintainer: Christopher Cooper <[email protected]>
|
||||||
# Maintainer: Jérôme Poulin <[email protected]>
|
# Maintainer: Jérôme Poulin <[email protected]>
|
||||||
|
# Maintainer: Fabio Fontana (fabifont) <[email protected]>
|
||||||
|
# Automation repository: https://github.com/fabifont/claude-code-aur
|
||||||
|
|
||||||
pkgname=claude-code
|
pkgname=claude-code
|
||||||
pkgver=2.1.86
|
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')
|
||||||
@@ -10,6 +13,7 @@ license=('LicenseRef-claude-code')
|
|||||||
depends=('bash')
|
depends=('bash')
|
||||||
# Binary is a self-contained Bun executable with embedded JS/resources - stripping breaks it
|
# Binary is a self-contained Bun executable with embedded JS/resources - stripping breaks it
|
||||||
options=('!strip')
|
options=('!strip')
|
||||||
|
|
||||||
optdepends=(
|
optdepends=(
|
||||||
'git: allow Claude to use git'
|
'git: allow Claude to use git'
|
||||||
'github-cli: interact with GitHub'
|
'github-cli: interact with GitHub'
|
||||||
@@ -20,29 +24,25 @@ optdepends=(
|
|||||||
'socat: sandboxing'
|
'socat: sandboxing'
|
||||||
)
|
)
|
||||||
|
|
||||||
# This bucket is used in the official install script at https://claude.ai/install.sh
|
source=("cc-legal::https://code.claude.com/docs/en/legal-and-compliance.md")
|
||||||
# curl -fsSL https://claude.ai/install.sh | grep GCS_BUCKET
|
source_x86_64=("claude-${pkgver}-x86_64::https://downloads.claude.ai/claude-code-releases/${pkgver}/linux-x64/claude")
|
||||||
_gcs_bucket="https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases"
|
source_aarch64=("claude-${pkgver}-aarch64::https://downloads.claude.ai/claude-code-releases/${pkgver}/linux-arm64/claude")
|
||||||
_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_aarch64=("claude-${pkgver}-aarch64::${_gcs_bucket}/${pkgver}/linux-arm64/claude")
|
|
||||||
|
|
||||||
sha256sums=('1e34536633a1b259f36724aa11bd73e6675c1fe3a5072ce57383558278611cba')
|
sha256sums=('SKIP')
|
||||||
sha256sums_x86_64=('adce02c5f94a85b6ca231c8aeef533707597cd387e8934776455b87d10a3051b')
|
sha256sums_x86_64=('2b84cc2e04633619eab02b9f77ed00a56b64682b4fa7b3267149ee9eb1fecfc7')
|
||||||
sha256sums_aarch64=('c04aebe3de140679b4cce158812d6f011b7e9c483496ccb0472cf38cc1714afe')
|
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 autoupdater
|
# Create wrapper script to disable upstream update paths
|
||||||
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_AUTOUPDATER=1
|
export DISABLE_UPDATES=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}/cc-legal-${_license_update_ts}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
install -Dm644 "${srcdir}/cc-legal" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
}
|
}
|
||||||
@@ -1,44 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
|
|
||||||
GCS_BUCKET="https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases"
|
|
||||||
PKGBUILD="PKGBUILD"
|
|
||||||
|
|
||||||
# Get current version from PKGBUILD
|
|
||||||
current_version=$(grep -Po '^pkgver=\K.*' "$PKGBUILD")
|
|
||||||
|
|
||||||
# Fetch latest version
|
|
||||||
new_version=$(curl -fsSL "$GCS_BUCKET/latest")
|
|
||||||
echo "Current version: $current_version"
|
|
||||||
echo "New version: $new_version"
|
|
||||||
|
|
||||||
if [ "$current_version" = "$new_version" ]; then
|
|
||||||
echo "Already up to date!"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Download manifest
|
|
||||||
manifest=$(curl -fsSL "$GCS_BUCKET/$new_version/manifest.json")
|
|
||||||
|
|
||||||
# Extract checksums using jq
|
|
||||||
linux_x64=$(echo "$manifest" | jq -r '.platforms["linux-x64"].checksum')
|
|
||||||
linux_arm64=$(echo "$manifest" | jq -r '.platforms["linux-arm64"].checksum')
|
|
||||||
|
|
||||||
echo ""
|
|
||||||
echo "Checksums (SHA256):"
|
|
||||||
echo " linux-x64: $linux_x64"
|
|
||||||
echo " linux-arm64: $linux_arm64"
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
# Update PKGBUILD
|
|
||||||
echo "Updating PKGBUILD..."
|
|
||||||
sed -i "s/^pkgver=.*/pkgver=$new_version/" "$PKGBUILD"
|
|
||||||
sed -i "s/^pkgrel=.*/pkgrel=1/" "$PKGBUILD"
|
|
||||||
sed -i "s/^sha256sums_x86_64=.*/sha256sums_x86_64=('$linux_x64')/" "$PKGBUILD"
|
|
||||||
sed -i "s/^sha256sums_aarch64=.*/sha256sums_aarch64=('$linux_arm64')/" "$PKGBUILD"
|
|
||||||
|
|
||||||
echo "Regenerating .SRCINFO..."
|
|
||||||
makepkg --printsrcinfo > .SRCINFO
|
|
||||||
|
|
||||||
echo ""
|
|
||||||
echo "Done! Updated from $current_version to $new_version"
|
|
||||||
Reference in new issue
Block a user