codeg-bin
maintainer duanluan
· 0 votes
· scanned 2026-08-18 00:03:42.021799
LOW
View on AUR ↗
Why flagged
The package installs a prebuilt binary from the project's official GitHub releases, which is a normal practice for AUR packages; the source is verifiable and checksummed, posing no active threat.
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.
LOW
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package installs a prebuilt binary from the project's official GitHub releases, which is a normal practice for AUR packages; the source is verifiable and checksummed, posing no active threat.
PKGBUILD
1
# Maintainer: duanluan <duanluan@outlook.com>
2
3
pkgname=codeg-bin
4
_pkgname=codeg
5
pkgver=0.26.0
6
pkgrel=1
7
pkgdesc='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
'dbus'
13
'gcc-libs'
14
'glibc'
15
'gtk3'
16
'hicolor-icon-theme'
17
'libayatana-appindicator'
18
'openssl'
19
'webkit2gtk-4.1'
20
'xz'
21
)
22
provides=('codeg')
23
conflicts=('codeg')
24
options=('!strip')
25
source=("LICENSE-${pkgver}::https://raw.githubusercontent.com/xintaofei/codeg/v${pkgver}/LICENSE")
26
source_x86_64=("${_pkgname}_${pkgver}_amd64.deb::https://github.com/xintaofei/codeg/releases/download/v${pkgver}/${_pkgname}_${pkgver}_amd64.deb")
27
source_aarch64=("${_pkgname}_${pkgver}_arm64.deb::https://github.com/xintaofei/codeg/releases/download/v${pkgver}/${_pkgname}_${pkgver}_arm64.deb")
28
noextract=("${_pkgname}_${pkgver}_amd64.deb" "${_pkgname}_${pkgver}_arm64.deb")
29
sha256sums=('c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4')
30
sha256sums_x86_64=('9215c81d3957e8c9f32f2ea69b92f6872eb14f96d49280af89e4c6821e1505fc')
31
sha256sums_aarch64=('bf574c4aee9e9b6033631110440df166f3fc0db3891a0a305eea9b564a067307')
32
33
package() {
34
local deb_arch
35
local extract_dir="${srcdir}/deb-extract-${CARCH}"
36
37
case "${CARCH}" in
38
x86_64) deb_arch='amd64' ;;
39
aarch64) deb_arch='arm64' ;;
40
*)
41
printf 'unsupported architecture: %s\n' "${CARCH}" >&2
42
return 1
43
;;
44
esac
45
46
rm -rf "${extract_dir}"
47
install -dm755 "${extract_dir}"
48
bsdtar -C "${extract_dir}" -xf "${srcdir}/${_pkgname}_${pkgver}_${deb_arch}.deb"
49
bsdtar -C "${pkgdir}" -xf "${extract_dir}/data.tar.gz"
50
51
mv "${pkgdir}/usr/bin/${_pkgname}" \
52
"${pkgdir}/usr/lib/${_pkgname}/${_pkgname}"
53
mv "${pkgdir}/usr/bin/${_pkgname}-server" \
54
"${pkgdir}/usr/lib/${_pkgname}/${_pkgname}-server"
55
install -Dm755 /dev/stdin "${pkgdir}/usr/bin/${_pkgname}" <<'SCRIPT'
56
#!/bin/sh
57
export WEBKIT_DISABLE_DMABUF_RENDERER="${WEBKIT_DISABLE_DMABUF_RENDERER:-1}"
58
exec /usr/lib/codeg/codeg "$@"
59
SCRIPT
60
install -Dm755 /dev/stdin "${pkgdir}/usr/bin/${_pkgname}-server" <<'SCRIPT'
61
#!/bin/sh
62
export CODEG_STATIC_DIR="${CODEG_STATIC_DIR:-/usr/lib/codeg/web}"
63
exec /usr/lib/codeg/codeg-server "$@"
64
SCRIPT
65
66
sed -i \
67
-e 's/^Categories=.*/Categories=Development;IDE;/' \
68
-e 's/^Comment=.*/Comment=Collaborative multi-agent AI coding workspace/' \
69
"${pkgdir}/usr/share/applications/${_pkgname}.desktop"
70
71
install -Dm644 "${srcdir}/LICENSE-${pkgver}" \
72
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
73
}
74
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-18 00:03:42 | LOW | 2 |
| 2026-08-17 03:35:16 | LOW | 2 |
| 2026-08-17 00:18:29 | LOW | 2 |
| 2026-08-16 23:34:04 | LOW | 2 |