From 5f210293f01d0a0cc9a1fc0cd6919db6255ca124 Mon Sep 17 00:00:00 2001 From: Christopher Cooper Date: Tue, 14 Apr 2026 10:24:18 -0700 Subject: [PATCH] remove license checksum When switching to the license page from the website and adding the checksum, I tried to check that it seemed to change infrequently. However, it does seem in practice to change relatively frequently, breaking builds. Most changes are relatively insubstantial, e.g. link destination changes. So removing the checksum seems pretty much fine. This file is not used in any load-bearing way, so there's no significant security implication. --- .SRCINFO | 6 +++--- PKGBUILD | 9 ++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 50d55a0..ccc22c5 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.107 - pkgrel = 1 + pkgrel = 2 url = https://github.com/anthropics/claude-code arch = x86_64 arch = aarch64 @@ -15,8 +15,8 @@ pkgbase = claude-code optdepends = bubblewrap: sandboxing optdepends = socat: sandboxing options = !strip - source = cc-legal-20260409::https://code.claude.com/docs/en/legal-and-compliance.md - sha256sums = 2087c4bef4e73deac4c50afb755000c418fb58657fe7cf1f860a815a1b55bae9 + source = cc-legal::https://code.claude.com/docs/en/legal-and-compliance.md + sha256sums = SKIP source_x86_64 = claude-2.1.107-x86_64::https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/2.1.107/linux-x64/claude sha256sums_x86_64 = 8abe3909c55b3afafa8939d28c2cc2fcf73ba9424a46b4f435bbadda7e0eb00d source_aarch64 = claude-2.1.107-aarch64::https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/2.1.107/linux-arm64/claude diff --git a/PKGBUILD b/PKGBUILD index a197b2b..f987183 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: Jérôme Poulin pkgname=claude-code pkgver=2.1.107 -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" @@ -23,12 +23,11 @@ optdepends=( # 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" -_license_update_ts=20260409 -source=("cc-legal-${_license_update_ts}::https://code.claude.com/docs/en/legal-and-compliance.md") +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") -sha256sums=('2087c4bef4e73deac4c50afb755000c418fb58657fe7cf1f860a815a1b55bae9') +sha256sums=('SKIP') sha256sums_x86_64=('8abe3909c55b3afafa8939d28c2cc2fcf73ba9424a46b4f435bbadda7e0eb00d') sha256sums_aarch64=('b3f1d3acde0a247c67a93638208911dd2f676743d16cb3f9bd3987ffb3498a00') @@ -44,5 +43,5 @@ exec /opt/claude-code/bin/claude "$@" EOF 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" }