Package Details: qoder-cli latest-1

Git Clone URL: https://aur.archlinux.org/qoder-cli.git (read-only, click to copy)
Package Base: qoder-cli
Description: Qoder Agentic CLI - Advanced AI coding agent from Alibaba
Upstream URL: https://qoder.com/cli
Licenses: proprietary
Submitter: Pakrohk
Maintainer: Pakrohk
Last Packager: Pakrohk
Votes: 0
Popularity: 0.000000
First Submitted: 2025-12-13 13:58 (UTC)
Last Updated: 2025-12-15 19:10 (UTC)

Dependencies (0)

Required by (0)

Sources (0)

Latest Comments

Louis_Liu commented on 2026-01-30 09:39 (UTC)

AUR Comment for qoder-cli

Title: PKGBUILD Improvements & Fix for installation error

Content (EN):

The current PKGBUILD has several issues that prevent a clean installation: 1. It downloads the binary in prepare() using curl | bash, which violates Arch packaging standards (all downloads should be in the source array for integrity checks). 2. The official install script tries to write to ~/.qoder, which causes conflicts and "Version already exists" errors if the user has previously installed it. 3. It often fails with "Expected binary not found" because the script moves the binary to ~/.qoder/bin instead of leaving it in the build directory.

I've prepared a standardized version of the PKGBUILD. It downloads the binary directly, doesn't touch the user's home directory during build, and installs correctly to /usr/bin.


Content (CN):

目前的 PKGBUILD 存在以下问题导致安装经常失败: 1. 在 prepare() 中使用 curl | bash 下载,违反了 Arch 打包规范(下载应在 source 数组中声明以便校验)。 2. 官方脚本会尝试写入 ~/.qoder,如果用户之前安装过,会提示“版本已存在”并报错退出。 3. 脚本运行后会将二进制移动到家目录而非保留在构建目录,导致 paru/makepkg 找不到文件。

建议修改为以下符合规范的版本:


Suggested PKGBUILD:

# Maintainer: pakrohk <pakrohk@gmail.com>
pkgname=qoder-cli
pkgver=0.1.24
pkgrel=2
pkgdesc="Qoder Agentic CLI - Advanced AI coding agent from Alibaba"
url="https://qoder.com/cli"
arch=('x86_64')
license=('proprietary')
options=('!strip')

# Proper Arch way: specify source and let makepkg handle it
source_x86_64=("https://assets.qoder.com/cli/releases/qoder-linux-amd64-${pkgver}.zip")
sha256sums_x86_64=('SKIP') # Replace with actual hash if available

package() {
  # Install the binary extracted from the zip
  install -Dm755 "${srcdir}/qoder" "${pkgdir}/usr/bin/qoder"
}