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
3pkgname=codeg-bin
4_pkgname=codeg
5pkgver=0.26.0
6pkgrel=1
7pkgdesc='Collaborative multi-agent AI coding workspace (prebuilt binary)'
8arch=('x86_64' 'aarch64')
9url='https://github.com/xintaofei/codeg'
10license=('Apache-2.0')
11depends=(
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)
22provides=('codeg')
23conflicts=('codeg')
24options=('!strip')
25source=("LICENSE-${pkgver}::https://raw.githubusercontent.com/xintaofei/codeg/v${pkgver}/LICENSE")
26source_x86_64=("${_pkgname}_${pkgver}_amd64.deb::https://github.com/xintaofei/codeg/releases/download/v${pkgver}/${_pkgname}_${pkgver}_amd64.deb")
27source_aarch64=("${_pkgname}_${pkgver}_arm64.deb::https://github.com/xintaofei/codeg/releases/download/v${pkgver}/${_pkgname}_${pkgver}_arm64.deb")
28noextract=("${_pkgname}_${pkgver}_amd64.deb" "${_pkgname}_${pkgver}_arm64.deb")
29sha256sums=('c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4')
30sha256sums_x86_64=('9215c81d3957e8c9f32f2ea69b92f6872eb14f96d49280af89e4c6821e1505fc')
31sha256sums_aarch64=('bf574c4aee9e9b6033631110440df166f3fc0db3891a0a305eea9b564a067307')
32
33package() {
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
57export WEBKIT_DISABLE_DMABUF_RENDERER="${WEBKIT_DISABLE_DMABUF_RENDERER:-1}"
58exec /usr/lib/codeg/codeg "$@"
59SCRIPT
60 install -Dm755 /dev/stdin "${pkgdir}/usr/bin/${_pkgname}-server" <<'SCRIPT'
61#!/bin/sh
62export CODEG_STATIC_DIR="${CODEG_STATIC_DIR:-/usr/lib/codeg/web}"
63exec /usr/lib/codeg/codeg-server "$@"
64SCRIPT
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)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion