codeg-server-bin
LOW
maintainer duanluan
0 votes
scanned 2026-10-25 09:42:04.970873
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
3
pkgname=codeg-server-bin
4
_pkgname=codeg-server
5
pkgver=0.40.0
6
pkgrel=1
7
pkgdesc='Standalone server of Codeg, a collaborative multi-agent AI coding workspace (prebuilt binary)'
8
arch=('x86_64' 'aarch64')
9
url='https://github.com/xintaofei/codeg'
10
license=('Apache-2.0')
11
depends=(
12
'gcc-libs'
13
'glibc'
14
'openssl'
15
'xz'
16
)
17
provides=('codeg-server')
18
conflicts=('codeg-server')
19
options=('!strip')
20
source=("LICENSE-${pkgver}::https://raw.githubusercontent.com/xintaofei/codeg/v${pkgver}/LICENSE")
21
source_x86_64=("codeg-server-linux-x64.tar.gz::https://github.com/xintaofei/codeg/releases/download/v${pkgver}/codeg-server-linux-x64.tar.gz")
22
source_aarch64=("codeg-server-linux-arm64.tar.gz::https://github.com/xintaofei/codeg/releases/download/v${pkgver}/codeg-server-linux-arm64.tar.gz")
23
sha256sums=('c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4')
24
sha256sums_x86_64=('06507d265f356e641694421f37eaafca64afd1f3e0c3b43f71345d71ff3eff01')
25
sha256sums_aarch64=('f0d002001fb0ef8b1d2220c9594947f6e408077a34e2381fca8ce8966ad99ba6')
26
27
package() {
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
44
cd /usr/lib/codeg-server || exit 1
45
exec ./codeg-server "$@"
46
SCRIPT
47
48
install -Dm644 "${srcdir}/LICENSE-${pkgver}" \
49
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
50
}
51
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-25 09:42:04 | Low | 1 |