codeg-server-bin

LOW
maintainer duanluan 0 votes scanned 2026-10-25 09:42:04.970873
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: duanluan <duanluan@outlook.com>
2
3pkgname=codeg-server-bin
4_pkgname=codeg-server
5pkgver=0.40.0
6pkgrel=1
7pkgdesc='Standalone server of Codeg, a collaborative multi-agent AI coding workspace (prebuilt binary)'
8arch=('x86_64' 'aarch64')
9url='https://github.com/xintaofei/codeg'
10license=('Apache-2.0')
11depends=(
12 'gcc-libs'
13 'glibc'
14 'openssl'
15 'xz'
16)
17provides=('codeg-server')
18conflicts=('codeg-server')
19options=('!strip')
20source=("LICENSE-${pkgver}::https://raw.githubusercontent.com/xintaofei/codeg/v${pkgver}/LICENSE")
21source_x86_64=("codeg-server-linux-x64.tar.gz::https://github.com/xintaofei/codeg/releases/download/v${pkgver}/codeg-server-linux-x64.tar.gz")
22source_aarch64=("codeg-server-linux-arm64.tar.gz::https://github.com/xintaofei/codeg/releases/download/v${pkgver}/codeg-server-linux-arm64.tar.gz")
23sha256sums=('c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4')
24sha256sums_x86_64=('06507d265f356e641694421f37eaafca64afd1f3e0c3b43f71345d71ff3eff01')
25sha256sums_aarch64=('f0d002001fb0ef8b1d2220c9594947f6e408077a34e2381fca8ce8966ad99ba6')
26
27package() {
28 local tar_root
29
30 case "${CARCH}" in
31 x86_64) tar_root='codeg-server-linux-x64' ;;
32 aarch64) tar_root='codeg-server-linux-arm64' ;;
33 *)
34 printf 'unsupported architecture: %s\n' "${CARCH}" >&2
35 return 1
36 ;;
37 esac
38
39 install -dm755 "${pkgdir}/usr/lib/${_pkgname}"
40 cp -a "${srcdir}/${tar_root}/." "${pkgdir}/usr/lib/${_pkgname}/"
41
42 install -Dm755 /dev/stdin "${pkgdir}/usr/bin/${_pkgname}" <<'SCRIPT'
43#!/bin/sh
44cd /usr/lib/codeg-server || exit 1
45exec ./codeg-server "$@"
46SCRIPT
47
48 install -Dm644 "${srcdir}/LICENSE-${pkgver}" \
49 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
50}
51

Scan history

Scanned at (UTC)SeverityRules
2026-10-25 09:42:04 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion