From 1d4b7715d1d5197b6e54541a92f41db6495f19e9 Mon Sep 17 00:00:00 2001 From: Christopher Cooper Date: Mon, 20 Apr 2026 09:50:24 -0700 Subject: [PATCH] switch to new download URL --- .SRCINFO | 8 ++++---- .nvchecker.toml | 2 +- PKGBUILD | 11 ++++------- update-version.sh | 2 +- 4 files changed, 10 insertions(+), 13 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 58b8eec..008a0a6 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = claude-code pkgdesc = An agentic coding tool that lives in your terminal pkgver = 2.1.114 - pkgrel = 1 + pkgrel = 2 url = https://github.com/anthropics/claude-code arch = x86_64 arch = aarch64 @@ -16,10 +16,10 @@ pkgbase = claude-code optdepends = socat: sandboxing options = !strip source = cc-legal::https://code.claude.com/docs/en/legal-and-compliance.md - sha256sums = c04a21cf44168e80e8cd48a4e48a3c5ffdc7a5df86459ebb8f9911cd4f8c398b - source_x86_64 = claude-2.1.114-x86_64::https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/2.1.114/linux-x64/claude + sha256sums = SKIP + source_x86_64 = claude-2.1.114-x86_64::https://downloads.claude.ai/claude-code-releases/2.1.114/linux-x64/claude sha256sums_x86_64 = 12bd4b0916deb06be17ffc7b2f0485e140bf00b2db3dcb78469d66723d73c27f - source_aarch64 = claude-2.1.114-aarch64::https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/2.1.114/linux-arm64/claude + source_aarch64 = claude-2.1.114-aarch64::https://downloads.claude.ai/claude-code-releases/2.1.114/linux-arm64/claude sha256sums_aarch64 = 9556b74e2c912e7dcaef90c91fd0dd5095364f8a9d71398de3c5c669612b828a pkgname = claude-code diff --git a/.nvchecker.toml b/.nvchecker.toml index 7cf7dbe..e1d6b4b 100644 --- a/.nvchecker.toml +++ b/.nvchecker.toml @@ -1,4 +1,4 @@ [claude-code] 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 = ".+" diff --git a/PKGBUILD b/PKGBUILD index 84206b7..0075231 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: Jérôme Poulin pkgname=claude-code pkgver=2.1.114 -pkgrel=1 +pkgrel=2 pkgdesc="An agentic coding tool that lives in your terminal" arch=('x86_64' 'aarch64') url="https://github.com/anthropics/claude-code" @@ -20,14 +20,11 @@ optdepends=( 'socat: sandboxing' ) -# This bucket is used in the official install script at https://claude.ai/install.sh -# curl -fsSL https://claude.ai/install.sh | grep GCS_BUCKET -_gcs_bucket="https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases" source=("cc-legal::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") +source_x86_64=("claude-${pkgver}-x86_64::https://downloads.claude.ai/claude-code-releases/${pkgver}/linux-x64/claude") +source_aarch64=("claude-${pkgver}-aarch64::https://downloads.claude.ai/claude-code-releases/${pkgver}/linux-arm64/claude") -sha256sums=('c04a21cf44168e80e8cd48a4e48a3c5ffdc7a5df86459ebb8f9911cd4f8c398b') +sha256sums=('SKIP') sha256sums_x86_64=('12bd4b0916deb06be17ffc7b2f0485e140bf00b2db3dcb78469d66723d73c27f') sha256sums_aarch64=('9556b74e2c912e7dcaef90c91fd0dd5095364f8a9d71398de3c5c669612b828a') diff --git a/update-version.sh b/update-version.sh index fb64c04..2a60634 100755 --- a/update-version.sh +++ b/update-version.sh @@ -1,7 +1,7 @@ #!/bin/bash set -e -GCS_BUCKET="https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases" +GCS_BUCKET="https://downloads.claude.ai/claude-code-releases" PKGBUILD="PKGBUILD" # Get current version from PKGBUILD