chatwithwork-local-agent

LOW
maintainer crmne 0 votes scanned 2026-09-25 09:11:17.574095
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: Carmine Paolino <carmine@paolino.me>
2pkgname=chatwithwork-local-agent
3pkgver=0.1.0
4pkgrel=1
5pkgdesc="Chat with Work Local Agent: share folders with Chat with Work through four read-only tools"
6arch=('x86_64' 'aarch64')
7url="https://github.com/crmne/chatwithwork-local-agent"
8license=('MIT OR Apache-2.0')
9install="${pkgname}.install"
10depends=('gcc-libs' 'glibc')
11makedepends=('cargo')
12optdepends=('org.freedesktop.secrets: keep the device key in the Secret Service (GNOME Keyring, KWallet, KeePassXC)')
13provides=('cww')
14conflicts=('cww' 'chatwithwork-local-agent-bin' 'chatwithwork-local-agent-git')
15# !lto because ring compiles its own C and Arch's default CFLAGS put LTO
16# objects in the archive, which the linker then cannot resolve. !debug
17# because the release profile strips symbols, so a debug package would be
18# empty.
19options=('!debug' '!lto')
20source=("${pkgname}-${pkgver}.tar.gz::https://github.com/crmne/chatwithwork-local-agent/archive/refs/tags/v${pkgver}.tar.gz")
21sha256sums=('6cac1bb5a2f39a8d1981f88a57fbe3fe6597f7d76c0a87505000a3c8b0e11372')
22
23prepare() {
24 cd "${srcdir}/${pkgname}-${pkgver}"
25 export RUSTUP_TOOLCHAIN=stable
26 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
27}
28
29build() {
30 cd "${srcdir}/${pkgname}-${pkgver}"
31 export RUSTUP_TOOLCHAIN=stable
32 export CARGO_TARGET_DIR=target
33 export RUSTFLAGS="${RUSTFLAGS:-} --remap-path-prefix=${srcdir}=/"
34 cargo build --frozen --release
35}
36
37check() {
38 cd "${srcdir}/${pkgname}-${pkgver}"
39 export RUSTUP_TOOLCHAIN=stable
40 export CARGO_TARGET_DIR=target
41 cargo test --frozen --release
42}
43
44package() {
45 cd "${srcdir}/${pkgname}-${pkgver}"
46 install -Dm755 target/release/cww "${pkgdir}/usr/bin/cww"
47 install -Dm644 packaging/systemd/cww.service "${pkgdir}/usr/lib/systemd/user/cww.service"
48 install -Dm644 README.md PROTOCOL.md SECURITY.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
49 install -Dm644 LICENSE-MIT LICENSE-APACHE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
50}
51

Scan history

Scanned at (UTC)SeverityRules
2026-09-25 09:11:17 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