Compare commits

..

71 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
github-actions[bot] 6cbefbcbdf Update claude-code to 2.1.160 2026-06-02 02:13:14 +00:00
github-actions[bot] 96b8fdda72 Update claude-code to 2.1.159 2026-05-31 19:43:57 +00:00
github-actions[bot] 591491051a Update claude-code to 2.1.158 2026-05-30 02:43:36 +00:00
github-actions[bot] 67421d4815 Update claude-code to 2.1.157 2026-05-29 20:21:50 +00:00
github-actions[bot] 6c0b9bc173 Update claude-code to 2.1.156 2026-05-29 01:45:42 +00:00
github-actions[bot] ebd7688832 Update claude-code to 2.1.154 2026-05-28 18:03:31 +00:00
github-actions[bot] 2a766b4bff Update claude-code to 2.1.153 2026-05-28 00:52:20 +00:00
github-actions[bot] 3def3daa9f Update claude-code to 2.1.152 2026-05-27 01:34:23 +00:00
github-actions[bot] 0c11c1957a Update claude-code to 2.1.150 2026-05-23 04:07:33 +00:00
github-actions[bot] 715b45aad7 Update claude-code to 2.1.149 2026-05-22 22:10:53 +00:00
github-actions[bot] fec9dff0ef Update claude-code to 2.1.148 2026-05-22 01:19:30 +00:00
github-actions[bot] 62cb083bc2 Update claude-code to 2.1.147 2026-05-21 20:43:13 +00:00
github-actions[bot] 221ee20aed Update claude-code to 2.1.146 2026-05-21 01:56:36 +00:00
github-actions[bot] 59a4bfdf6d Update claude-code to 2.1.145 2026-05-19 21:35:17 +00:00
github-actions[bot] 57761170c0 Update claude-code to 2.1.144 2026-05-19 00:52:50 +00:00
github-actions[bot] 8fb0172871 Update claude-code to 2.1.143 2026-05-15 22:33:23 +00:00
github-actions[bot] 2c38ecf427 Update claude-code to 2.1.142 2026-05-14 22:56:50 +00:00
github-actions[bot] dcc51bc9ad Update claude-code to 2.1.141 2026-05-13 23:20:12 +00:00
github-actions[bot] 73a7a9b98d Update claude-code to 2.1.140 2026-05-12 21:12:55 +00:00
github-actions[bot] b9f14262d2 Update claude-code to 2.1.139 2026-05-11 18:45:13 +00:00
github-actions[bot] 83a07f198d Update claude-code to 2.1.138 2026-05-09 06:34:55 +00:00
github-actions[bot] 06bb3551e3 Update claude-code to 2.1.137 2026-05-09 00:13:21 +00:00
github-actions[bot] 255ec4785e Update claude-code to 2.1.136 2026-05-08 18:41:46 +00:00
github-actions[bot] 763276e598 Update claude-code to 2.1.133 2026-05-07 23:51:35 +00:00
github-actions[bot] 83d0108385 Update claude-code to 2.1.132 2026-05-06 22:09:29 +00:00
github-actions[bot] 8c03385db0 Update claude-code to 2.1.131 2026-05-06 07:50:16 +00:00
github-actions[bot] 4eda81f3c7 Update claude-code to 2.1.129 2026-05-06 01:43:39 +00:00
github-actions[bot] d662cfa6ed Update claude-code to 2.1.128 2026-05-04 23:06:16 +00:00
github-actions[bot] fd91f97901 Sync claude-code packaging 2026-05-03 21:44:58 +00:00
Fabio Fontana e807742f0d Remove update-version.sh 2026-05-03 23:04:30 +02:00
github-actions[bot] 5e0360b5b4 Sync claude-code packaging 2026-05-03 21:00:47 +00:00
github-actions[bot] ba74cb630c Sync claude-code packaging 2026-05-03 20:55:05 +00:00
Christopher Cooper f57a6206ab bump pkgrel 2026-05-01 09:05:27 -07:00
Christopher Cooper 20209cc878 remove checksum for license 2026-05-01 09:04:59 -07:00
Jérôme Poulin 547593e2e9 update to 2.1.126 2026-05-01 09:37:12 -04:00
Christopher Cooper 48198f36bb update to 2.1.123 2026-04-28 22:42:33 -07:00
Christopher Cooper f2cdc34cf9 update to 2.1.122 2026-04-28 16:33:12 -07:00
Christopher Cooper 272b680e0b update to 2.1.121 2026-04-27 18:18:27 -07:00
Christopher Cooper 542c547a53 update to 2.1.119 2026-04-23 16:50:37 -07:00
Jérôme Poulin 1e74ff1b20 update to 2.1.118 2026-04-23 07:26:06 -04:00
Christopher Cooper cd4132fedd update to 2.1.117 2026-04-21 17:42:14 -07:00
Christopher Cooper fca3460f4e update to 2.1.116 2026-04-20 16:59:48 -07:00
Christopher Cooper 1d4b7715d1 switch to new download URL 2026-04-20 10:06:18 -07:00
Jérôme Poulin 1c5ef963be update to 2.1.114 2026-04-19 22:57:08 -04:00
Christopher Cooper e8c05cd498 update to 2.1.113 2026-04-17 13:24:20 -07:00
Christopher Cooper aab58388ec update to 2.1.112 2026-04-16 13:13:39 -07:00
Christopher Cooper 1ab13bde3e update to 2.1.111 2026-04-16 10:18:57 -07:00
Christopher Cooper 6b73ccb81b update to 2.1.110 2026-04-15 15:11:10 -07:00
Christopher Cooper 86e0f9dd05 update to 2.1.109 2026-04-14 21:53:10 -07:00
Christopher Cooper 2c5a0b60b1 update to 2.1.108 2026-04-14 12:34:25 -07:00
Christopher Cooper 5f210293f0 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.
2026-04-14 10:24:18 -07:00
Jérôme Poulin 6f941b72a2 update to 2.1.107 2026-04-14 09:47:31 -04:00
Christopher Cooper a35778c704 update to 2.1.105 2026-04-13 15:23:35 -07:00
Christopher Cooper 85dcca11ab update to 2.1.104 2026-04-12 14:17:38 -07:00
Christopher Cooper 33a5d83dca update to 2.1.101 2026-04-10 12:07:57 -07:00
Christopher Cooper f9720ddab9 update to 2.1.100 2026-04-10 08:57:24 -07:00
Christopher Cooper 9ae1ece425 update license checksum 2026-04-09 17:16:03 -07:00
Christopher Cooper 6425def203 update to 2.1.98 2026-04-09 12:42:34 -07:00
Christopher Cooper 96e7f83227 update to 2.1.97 2026-04-08 14:59:02 -07:00
Christopher Cooper d2250dbf13 update license checksum 2026-04-08 11:29:58 -07:00
Jérôme Poulin c06111b0b2 update to 2.1.96 2026-04-08 10:24:18 -04:00
Christopher Cooper 8a3a5e98ed update to 2.1.94 2026-04-07 14:56:25 -07:00
Christopher Cooper 11d2eb5d47 update license checksum 2026-04-03 22:05:11 -07:00
Christopher Cooper ad5d4030a2 update to 2.1.92 2026-04-03 18:27:28 -07:00
Jérôme Poulin b92a2e5bd5 update to 2.1.91 2026-04-02 19:49:53 -04:00
Christopher Cooper 51b9dea725 update to 2.1.90 2026-04-01 16:46:40 -07:00
Christopher Cooper 0c3481df1e update to 2.1.89 2026-03-31 18:24:08 -07:00
Christopher Cooper bf22674724 roll back to 2.1.87
https://github.com/anthropics/claude-code/commit/66ab4ae6e022a5f0d6537a10771815052957c784
2026-03-31 09:43:25 -07:00
Christopher Cooper 0cd30db8bc update to 2.1.88 2026-03-30 17:00:12 -07:00
Christopher Cooper aac9b92e0e update to 2.1.87 2026-03-30 11:49:03 -07:00
4 changed files with 22 additions and 66 deletions
+7 -7
View File
@@ -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
View File
@@ -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 = ".+"
+14 -14
View File
@@ -1,7 +1,10 @@
# Maintainer: Christopher Cooper <christopher@cg505.com> # Maintainer: Christopher Cooper <christopher@cg505.com>
# Maintainer: Jérôme Poulin <jeromepoulin@gmail.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 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"
} }
-44
View File
@@ -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"