Compare commits

...

53 Commits

Author SHA1 Message Date
Yi-Ting Shih
9928728541 Feat: add build ci
All checks were successful
Build package / build-package (push) Successful in 4m5s
2026-03-29 17:33:58 +08:00
Christopher Cooper
ca416de6a1 update to 2.1.86 2026-03-27 14:51:21 -07:00
Christopher Cooper
3126049cb5 update to 2.1.85 2026-03-26 18:02:19 -07:00
Jérôme Poulin
0d9aadcb69 update to 2.1.84 2026-03-25 23:56:27 -04:00
Jérôme Poulin
5bbfa8a6c3 update to 2.1.83 2026-03-25 08:48:11 -04:00
Christopher Cooper
22b95c96f7 update to 2.1.81 2026-03-20 15:29:29 -07:00
Jérôme Poulin
1781f3e6b5 update to 2.1.80 2026-03-19 18:40:44 -04:00
Christopher Cooper
3331a37c8e update to 2.1.79 2026-03-18 17:11:55 -07:00
Christopher Cooper
792b3fac97 update to 2.1.78 2026-03-17 18:19:40 -07:00
Christopher Cooper
821f57194c update to 2.1.77 2026-03-16 17:32:12 -07:00
Christopher Cooper
3e4dadebe7 fix typo 2026-03-16 09:36:50 -07:00
Christopher Cooper
7fd2eec62b add optdepends for sandboxing 2026-03-16 09:35:34 -07:00
Christopher Cooper
dc65314972 update to 2.1.76 2026-03-13 19:11:45 -07:00
Christopher Cooper
4e0de65619 fix LICENSE install 2026-03-13 16:48:59 -07:00
Christopher Cooper
8b49edf019 update license checksum 2026-03-13 16:45:01 -07:00
Christopher Cooper
2801bbc139 update to 2.1.75 2026-03-13 14:23:44 -07:00
Christopher Cooper
f784dc0ad2 update to 2.1.74 2026-03-11 17:51:50 -07:00
Christopher Cooper
5e105e4933 use unique filename for license 2026-03-11 16:32:36 -07:00
Christopher Cooper
303c24497f update license 2026-03-11 14:03:17 -07:00
Christopher Cooper
b2c8835a73 update to 2.1.73 2026-03-11 11:45:55 -07:00
Jérôme Poulin
a05752f42c update to 2.1.72 2026-03-09 21:16:06 -04:00
Christopher Cooper
8a43ff4265 update to 2.1.71 2026-03-07 14:20:40 -08:00
Jérôme Poulin
de6422592d update to 2.1.70 2026-03-05 22:36:33 -05:00
Christopher Cooper
5a0b607f20 remove NPM_CONFIG_PREFIX override 2026-03-05 12:58:35 -08:00
Christopher Cooper
0158d785ed update to 2.1.69 2026-03-04 16:40:16 -08:00
Jérôme Poulin
9da61f7a65 update to 2.1.68 2026-03-04 09:17:07 -05:00
Jérôme Poulin
f5fa6f1bc5 update to 2.1.66 2026-03-03 21:34:54 -05:00
Jérôme Poulin
e025d5df91 update to 2.1.63 2026-02-28 12:51:35 -05:00
Jérôme Poulin
8e4e33f722 update to 2.1.62 2026-02-26 21:06:23 -05:00
Jérôme Poulin
ab3094682f update to 2.1.61 2026-02-26 17:59:42 -05:00
Christopher Cooper
d871faec8b update to 2.1.59 2026-02-25 17:02:21 -08:00
Jérôme Poulin
730a44b2ce update to 2.1.58 2026-02-25 15:06:56 -05:00
Christopher Cooper
5189c6d05d update to 2.1.56 2026-02-24 22:31:56 -08:00
Jérôme Poulin
2963fb65b7 update to 2.1.55 2026-02-24 23:05:30 -05:00
Christopher Cooper
e10369665a update to 2.1.53 2026-02-24 16:53:41 -08:00
Jérôme Poulin
2a8471551b update to 2.1.52 2026-02-24 10:07:31 -05:00
Christopher Cooper
cdc4631f67 update to 2.1.51 2026-02-23 17:55:03 -08:00
Christopher Cooper
b58e0b0ac1 update to 2.1.50 2026-02-20 16:09:32 -08:00
Christopher Cooper
3de8fe2c60 update to 2.1.49 2026-02-19 15:53:34 -08:00
Christopher Cooper
fd6db27ce1 update to 2.1.47 2026-02-18 13:43:06 -08:00
Jérôme Poulin
3069d682d4 update to 2.1.45 2026-02-17 14:17:00 -05:00
Jérôme Poulin
09c58b8229 update to 2.1.44 2026-02-16 17:02:23 -05:00
Jérôme Poulin
92f162601b update to 2.1.42 2026-02-13 20:35:08 -05:00
Jérôme Poulin
5a688f2152 update to 2.1.41 2026-02-12 21:31:20 -05:00
Jérôme Poulin
59e6a85920 update to 2.1.39 2026-02-10 18:28:14 -05:00
Jérôme Poulin
d36f6ece33 update to 2.1.38 2026-02-09 20:45:04 -05:00
Jérôme Poulin
822203482a update to 2.1.37 2026-02-07 18:05:59 -05:00
Jérôme Poulin
fcda782bc9 update to 2.1.34 2026-02-06 10:49:18 -05:00
Christopher Cooper
b9b96469f2 update to 2.1.33 2026-02-05 18:16:09 -08:00
Christopher Cooper
0c617b3520 add tmux optdepend 2026-02-05 11:23:29 -08:00
Christopher Cooper
9b79da5c9b update to 2.1.32 2026-02-05 10:35:23 -08:00
Christopher Cooper
9998c135d3 update to 2.1.31 2026-02-03 23:39:39 -07:00
Jérôme Poulin
57881b0dd8 update to 2.1.29 2026-02-01 15:46:12 -05:00
3 changed files with 36 additions and 17 deletions

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.27 pkgver = 2.1.86
pkgrel = 1 pkgrel = 1
url = https://github.com/anthropics/claude-code url = https://github.com/anthropics/claude-code
arch = x86_64 arch = x86_64
@@ -11,12 +11,15 @@ pkgbase = claude-code
optdepends = github-cli: interact with GitHub optdepends = github-cli: interact with GitHub
optdepends = glab: interact with GitLab optdepends = glab: interact with GitLab
optdepends = ripgrep: enhanced file search optdepends = ripgrep: enhanced file search
optdepends = tmux: agent team split panes
optdepends = bubblewrap: sandboxing
optdepends = socat: sandboxing
options = !strip options = !strip
source = LICENSE::https://raw.githubusercontent.com/anthropics/claude-code/refs/heads/main/LICENSE.md source = cc-legal-20260313::https://code.claude.com/docs/en/legal-and-compliance.md
sha256sums = 728158fd1037143fad6907e8fa34804177e598b7326519503fe83cafdef849e6 sha256sums = 1e34536633a1b259f36724aa11bd73e6675c1fe3a5072ce57383558278611cba
source_x86_64 = claude-2.1.27-x86_64::https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/2.1.27/linux-x64/claude 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
sha256sums_x86_64 = 24df91dd250b6d7f6a0f8b256affab6c7a4bdefa64b1ece8aca3235d5f5e4044 sha256sums_x86_64 = adce02c5f94a85b6ca231c8aeef533707597cd387e8934776455b87d10a3051b
source_aarch64 = claude-2.1.27-aarch64::https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/2.1.27/linux-arm64/claude 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
sha256sums_aarch64 = 6166a8eeb82eba410b96030ab4b1330a27c28bdbdc4e313db45e5bfcc25d1e66 sha256sums_aarch64 = c04aebe3de140679b4cce158812d6f011b7e9c483496ccb0472cf38cc1714afe
pkgname = claude-code pkgname = claude-code

View File

@@ -0,0 +1,15 @@
name: Build package
on: [push]
jobs:
build-package:
runs-on: pkgbuilder
env:
steps:
- name: Build and push package
uses: https://gitea.konchin.com/action/archbuild@main
with:
minio-accesskey: ${{ secrets.MINIO_ACCESSKEY }}
minio-secretkey: ${{ secrets.MINIO_SECRETKEY }}
gpg-password: ${{ secrets.GPG_PASSWORD }}
gpg-keygrip: ${{ secrets.GPG_KEYGRIP }}

View File

@@ -1,7 +1,7 @@
# 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>
pkgname=claude-code pkgname=claude-code
pkgver=2.1.27 pkgver=2.1.86
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')
@@ -15,33 +15,34 @@ optdepends=(
'github-cli: interact with GitHub' 'github-cli: interact with GitHub'
'glab: interact with GitLab' 'glab: interact with GitLab'
'ripgrep: enhanced file search' 'ripgrep: enhanced file search'
'tmux: agent team split panes'
'bubblewrap: sandboxing'
'socat: sandboxing'
) )
# This bucket is used in the official install script at https://claude.ai/install.sh # 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 # 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" _gcs_bucket="https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases"
source=("LICENSE::https://raw.githubusercontent.com/anthropics/claude-code/refs/heads/main/LICENSE.md") _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_x86_64=("claude-${pkgver}-x86_64::${_gcs_bucket}/${pkgver}/linux-x64/claude")
source_aarch64=("claude-${pkgver}-aarch64::${_gcs_bucket}/${pkgver}/linux-arm64/claude") source_aarch64=("claude-${pkgver}-aarch64::${_gcs_bucket}/${pkgver}/linux-arm64/claude")
sha256sums=('728158fd1037143fad6907e8fa34804177e598b7326519503fe83cafdef849e6') sha256sums=('1e34536633a1b259f36724aa11bd73e6675c1fe3a5072ce57383558278611cba')
sha256sums_x86_64=('24df91dd250b6d7f6a0f8b256affab6c7a4bdefa64b1ece8aca3235d5f5e4044') sha256sums_x86_64=('adce02c5f94a85b6ca231c8aeef533707597cd387e8934776455b87d10a3051b')
sha256sums_aarch64=('6166a8eeb82eba410b96030ab4b1330a27c28bdbdc4e313db45e5bfcc25d1e66') sha256sums_aarch64=('c04aebe3de140679b4cce158812d6f011b7e9c483496ccb0472cf38cc1714afe')
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 that sets NPM_CONFIG_PREFIX to avoid false npm detection # Create wrapper script to disable autoupdater
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
# Wrapper to prevent claude from detecting /usr/bin/claude as npm-global installation
export NPM_CONFIG_PREFIX="${NPM_CONFIG_PREFIX:-/nonexistent}"
# Disable autoupdater
export DISABLE_AUTOUPDATER=1 export DISABLE_AUTOUPDATER=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}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm644 "${srcdir}/cc-legal-${_license_update_ts}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
} }